parent
4a73523a31
commit
5fd38ca5f0
@ -0,0 +1,6 @@ |
||||
FROM debian:buster |
||||
RUN apt update && apt install -y xinetd tftpd-hpa |
||||
RUN mkdir -p /tftpboot && chmod -R 777 /tftpboot && chown -R nobody /tftpboot |
||||
COPY tftp.xinetd.conf /etc/xinetd.d/tftp |
||||
COPY Dockerfile /tftpboot/test |
||||
CMD ["script", "-c", "/usr/sbin/xinetd -d"] |
||||
@ -0,0 +1,13 @@ |
||||
service tftp |
||||
{ |
||||
socket_type = dgram |
||||
protocol = udp |
||||
wait = yes |
||||
user = root |
||||
server = /usr/sbin/in.tftpd |
||||
server_args = -s /tftpboot |
||||
disable = no |
||||
per_source = 11 |
||||
cps = 100 2 |
||||
flags = IPv4 |
||||
} |
||||
Loading…
Reference in new issue