-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
48 lines (38 loc) · 933 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
FROM fedora:latest
LABEL maintainer="ad.tomik@seznam.cz"
LABEL version="0.1.2"
RUN dnf update -y && \
dnf install -y \
git \
curl \
cmake \
gcc \
clang \
clang-tools-extra \
cppcheck \
ninja-build \
gdb \
valgrind \
gtest \
gtest-devel \
gmock \
gmock-devel \
boost \
boost-devel \
&& dnf clean all
# Copying source files
COPY . /app
# Setting up a working directory
WORKDIR /app
# Compilers
RUN mkdir build -p && cd build && cmake .. && make
# Work folder for manual execution unit tests (it is not possible to use auto start)
# WORKDIR /app/build/bin/tests/
# Work folder for manual execution app (it is not possible to use auto start)
# WORKDIR /app/build/bin/
# Notification that port 8080 will be used
EXPOSE 8080
# Automatic test execution
# CMD ["./build/bin/tests/AuroraNexus_tests"]
# Automatic project start
# CMD ["./build/bin/AuroraNexus"]