We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0a7e91 commit 24ef142Copy full SHA for 24ef142
Dockerfile
@@ -18,7 +18,13 @@ FROM phusion/baseimage:0.9.22
18
# Use baseimage-docker's init system.
19
CMD ["/sbin/my_init"]
20
21
-RUN apt-get update && apt-get install -y wget netbase bison flex tcpdump make && apt-get build-dep -y xinetd && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
+RUN apt-get update && apt-get install -y --no-install-recommends wget netbase tcpdump make && \
22
+ apt-get install -s "xinetd" \
23
+ | sed -n \
24
+ -e "/^Inst xinetd /d" \
25
+ -e 's/^Inst \([^ ]\+\) .*$/\1/p' \
26
+ | xargs apt-get install -y --no-install-recommends && \
27
+ apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
28
29
COPY --from=build-stage /opt/xinetd /opt/xinetd
30
0 commit comments