index
:
ptunnel-ng.git
Tunnel TCP connections through ICMP.
log msg
author
committer
range
coverity_scan
feature/libsodium-integration
feature/wireshark-dissector
master
ptunnel-ng/2.0.0
release
removed_extended_options
about
summary
refs
log
tree
commit
diff
path:
root
/
Dockerfile
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'Dockerfile')
-rw-r--r--
Dockerfile
16
1 files changed, 16 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..ffbb47b
--- /dev/null
+++ b/
Dockerfile
@@ -0,0 +1,16 @@
+FROM alpine AS build
+RUN apk update && apk add \
+ musl-dev \
+ autoconf \
+ automake \
+ make \
+ gcc
+COPY . /build
+WORKDIR /build
+RUN autoreconf -fi && ./configure && make
+RUN make DESTDIR=/opt install
+
+FROM alpine
+COPY --from=build /opt /
+COPY docker-entrypoint.sh /
+ENTRYPOINT ["/docker-entrypoint.sh"] \ No newline at end of file