diff --git a/pkg/tftpd/Dockerfile b/pkg/tftpd/Dockerfile new file mode 100644 index 0000000..3a132ca --- /dev/null +++ b/pkg/tftpd/Dockerfile @@ -0,0 +1,12 @@ +FROM alpine:3.7 +MAINTAINER Pierre-Olivier Mercier + +RUN apk add --no-cache tftp-hpa + +VOLUME /srv/tftp + +EXPOSE 69/udp + +CMD ["/usr/sbin/in.tftpd","--foreground","--verbose","--listen","--address",":69","--secure","--port-range","4096:32767","/srv/tftp"] + +LABEL org.mobyproject.config='{"capabilities": ["CAP_NET_BIND_SERVICE"]}' diff --git a/pkg/tftpd/build.yml b/pkg/tftpd/build.yml new file mode 100644 index 0000000..1be1cfe --- /dev/null +++ b/pkg/tftpd/build.yml @@ -0,0 +1 @@ +image: tftpd