pkg: add tftp-hpa
This commit is contained in:
parent
79f135a040
commit
0e7f491d0b
2 changed files with 13 additions and 0 deletions
12
pkg/tftpd/Dockerfile
Normal file
12
pkg/tftpd/Dockerfile
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
FROM alpine:3.7
|
||||||
|
MAINTAINER Pierre-Olivier Mercier <nemunaire@nemunai.re>
|
||||||
|
|
||||||
|
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"]}'
|
1
pkg/tftpd/build.yml
Normal file
1
pkg/tftpd/build.yml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
image: tftpd
|
Reference in a new issue