add tftpd

This commit is contained in:
kev 2016-11-02 17:23:46 +08:00
parent 60a3df4630
commit 6c7688af29
6 changed files with 43 additions and 0 deletions

View File

@ -90,6 +90,7 @@ A collection of delicious docker recipes.
- [x] swarm-arm
- [x] taskd
- [x] telegraf
- [x] tftpd
- [x] tmail :beetle:
- [x] urlwatch :beetle:
- [x] vnstat

13
tftpd/Dockerfile Normal file
View File

@ -0,0 +1,13 @@
#
# Dockerfile for tftpd
#
FROM alpine
MAINTAINER kev <noreply@easypi.info>
RUN apk add --no-cache tftp-hpa
VOLUME /tftpboot
EXPOSE 69/udp
ENTRYPOINT ["in.tftpd"]
CMD ["--verbose", "--foreground", "--secure", "--create", "--user", "root", "/tftpboot"]

2
tftpd/README.md Normal file
View File

@ -0,0 +1,2 @@
tftpd
=====

13
tftpd/arm/Dockerfile Normal file
View File

@ -0,0 +1,13 @@
#
# Dockerfile for tftpd-arm
#
FROM easypi/alpine-arm
MAINTAINER EasyPi Software Foundation
RUN apk add --no-cache tftp-hpa
VOLUME /tftpboot
EXPOSE 69/udp
ENTRYPOINT ["in.tftpd"]
CMD ["--verbose", "--foreground", "--secure", "--create", "--user", "root", "/tftpboot"]

View File

@ -0,0 +1,7 @@
tftpd:
image: easypi/tftpd-arm
ports:
- "69:69/udp"
volumes:
- ./data:/tftpboot
restart: unless-stopped

7
tftpd/docker-compose.yml Normal file
View File

@ -0,0 +1,7 @@
tftpd:
image: vimagick/tftpd
ports:
- "69:69/udp"
volumes:
- ./data:/tftpboot
restart: unless-stopped