9 lines
357 B
Docker
9 lines
357 B
Docker
|
FROM alpine:3.16
|
||
|
COPY tftp-hpa-5.2-r4.apk /tmp/
|
||
|
COPY packager-62fdf15d.rsa.pub /etc/apk/keys/
|
||
|
RUN apk add --no-cache /tmp/tftp-hpa-5.2-r4.apk && rm /tmp/tftp-hpa-5.2-r4.apk
|
||
|
COPY remap.conf /etc/conf.d/
|
||
|
VOLUME /var/tftpboot
|
||
|
EXPOSE 69/udp
|
||
|
CMD ["sh", "-c", "busybox syslogd -n -O /dev/stdout & in.tftpd -Lvvv --secure /var/tftpboot -m /etc/conf.d/remap.conf"]
|