-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f59e9b5
commit 35ed05d
Showing
4 changed files
with
80 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
build | ||
.vscode | ||
.vscode | ||
docs/build.md | ||
|
||
*.mp4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# FROM alpine:3.17.0 AS build | ||
|
||
# RUN apk update && \ | ||
# apk add --no-cache \ | ||
# build-base=0.5-r3 \ | ||
# cmake=3.24.3-r0 \ | ||
# boost1.80-dev=1.80.0-r3 | ||
|
||
# WORKDIR /vca | ||
|
||
# COPY source/ .source/ | ||
# COPY CMakeLists.txt . | ||
|
||
# WORKDIR /vca/build | ||
|
||
# RUN cmake -DCMAKE_BUILD_TYPE=Release .. && \ | ||
# cmake --build . --parallel 8 | ||
|
||
# FROM alpine:3.17.0 | ||
|
||
# RUN apk update && \ | ||
# apk add --no-cache \ | ||
# libstdc++=12.2.1_git20220924-r4 \ | ||
# boost1.80-program_options=1.80.0-r3 | ||
|
||
# RUN addgroup -S vca_user && adduser -S vca_user -G vca_user | ||
# USER vca_user | ||
|
||
# COPY --chown=vca_user:vca_user --from=build ./vca/build/src/apps ./app/ | ||
|
||
# # ENTRYPOINT [ "./app" ] | ||
|
||
# syntax=docker/dockerfile:1 | ||
# Download base image ubuntu 22.04 | ||
FROM --platform=amd64 ubuntu:22.04 | ||
|
||
# LABEL about the custom image | ||
LABEL maintainer="christian.bauer@aau.at" | ||
LABEL version="0.1" | ||
LABEL description="This is a custom Docker Image for VCA." | ||
|
||
# Disable Prompt During Packages Installation | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
# Update Ubuntu Software repository | ||
RUN apt-get update && \ | ||
apt-get upgrade -y | ||
|
||
RUN apt install -y git nasm ffmpeg cmake build-essential | ||
RUN rm -rf /var/lib/apt/lists/* | ||
RUN apt clean | ||
|
||
WORKDIR /vca | ||
|
||
COPY source/ source/ | ||
COPY CMakeLists.txt . | ||
COPY .clang-format . | ||
|
||
RUN mkdir build | ||
# RUN cd build | ||
RUN cmake . | ||
RUN cmake --build . | ||
|
||
WORKDIR /vca/source/apps/vca | ||
COPY videos/* . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.