-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (21 loc) · 773 Bytes
/
Dockerfile
File metadata and controls
27 lines (21 loc) · 773 Bytes
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
FROM ubuntu:18.04
# Update packages and setup timezone
RUN apt-get update && apt-get -y upgrade && \
apt-get -y install tzdata
ENV TZ=Europe/Zurich
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
echo $TZ > /etc/timezone
RUN dpkg-reconfigure --frontend=noninteractive tzdata
RUN apt-get -y install file unzip zip xz-utils git \
gcc g++ cmake default-jdk \
python3
# ADD docker/apache-maven-3.6.3-bin.tar.gz /usr/local
# RUN ln -s /usr/local/apache-maven-3.6.3/bin/mvn /usr/local/bin
# COPY template_java /root/template_java
RUN apt-get -y install iproute2 nano
WORKDIR /root/template_cpp
COPY example ./example
COPY tools ./tools
RUN mkdir logs
COPY template_cpp /root/template_cpp
RUN ./build.sh