File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -18,17 +18,11 @@ FROM phusion/baseimage:0.9.22
1818# Use baseimage-docker's init system.
1919CMD ["/sbin/my_init" ]
2020
21- 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/*
21+ RUN apt-get update && apt-get install -y --no-install-recommends wget netbase tcpdump xinetd && \
22+ apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /etc/xinetd.d/*
2823
29- COPY --from=build-stage /opt/xinetd /opt /xinetd
24+ COPY --from=build-stage /opt/xinetd/xinetd/xinetd /usr/sbin /xinetd
3025
31- RUN cd /opt/xinetd && make install && cd /opt && rm -fr xinetd
3226
3327ADD xinetd.conf /etc/xinetd.conf
3428ADD pwn.kafel /etc/pwn.kafel
You can’t perform that action at this time.
0 commit comments