-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (21 loc) · 775 Bytes
/
Dockerfile
File metadata and controls
29 lines (21 loc) · 775 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
28
29
FROM ubuntu:16.04
RUN apt update && apt install -y \
build-essential cmake libboost-all-dev \
miniupnpc libunbound-dev graphviz doxygen \
libunwind8-dev pkg-config libssl-dev git \
libminiupnpc-dev liblzma-dev libldns-dev \
libexpat1-dev doxygen graphviz libgtest-dev
ADD . /usr/src/geldum
WORKDIR /usr/src/geldum
RUN make -j 8 release-static && \
mkdir /geldum && \
cp -fv build/release/bin/* /geldum
WORKDIR /geldum
VOLUME [ "/geldum" ]
RUN apt purge -y build-essential cmake libboost-all-dev \
miniupnpc libunbound-dev graphviz doxygen \
libunwind8-dev pkg-config libssl-dev git \
libminiupnpc-dev liblzma-dev libldns-dev \
libexpat1-dev doxygen graphviz libgtest-dev && \
apt clean
ENTRYPOINT [ "/geldum/geldumd" ]