parent
514ad3bf8b
commit
5ffaf42e5a
@ -1,4 +1,5 @@ |
||||
FROM debian:buster |
||||
RUN apt update && apt install -y xinetd tftpd-hpa |
||||
RUN apt update && apt install -y xinetd tftpd-hpa busybox |
||||
COPY tftp.xinetd.conf /etc/xinetd.d/tftp |
||||
COPY http.xinetd.conf /etc/xinetd.d/http |
||||
CMD ["script", "-c", "/usr/sbin/xinetd -d"] |
||||
|
||||
@ -0,0 +1,11 @@ |
||||
service http |
||||
{ |
||||
socket_type = stream |
||||
protocol = tcp |
||||
wait = no |
||||
user = root |
||||
server = /bin/busybox |
||||
server_args = httpd -if -h /tftpboot |
||||
port = 80 |
||||
flags = IPv4 |
||||
} |
||||
Loading…
Reference in new issue