Files
tftp/Dockerfile
Gian Luca Vagnuzzi 8e7f5bfb48
All checks were successful
Update Docker Hub Description / dockerHubDescription (push) Successful in 13s
Docker Image CI / build_docker_images (push) Successful in 12m11s
Initial commit
2025-11-12 15:19:43 +01:00

28 lines
790 B
Docker

## https://hub.docker.com/_/alpine/tags
FROM alpine:3.22.2
## https://pkgs.alpinelinux.org/packages?name=tftp-hpa&branch=v3.22&repo=&arch=x86_64&origin=&flagged=&maintainer=
ENV tftpV="tftp-hpa=~5.2-r7"
LABEL org.opencontainers.image.authors="rardcode <sak37564@ik.me>"
LABEL Description="Tftp server based on Debian."
ENV APP_NAME="tftp"
RUN set -xe && \
: "---------- ESSENTIAL packages INSTALLATION ----------" && \
apk update --no-cache && \
apk upgrade --available && \
apk add bash
RUN set -xe && \
: "---------- SPECIFIC packages INSTALLATION ----------" && \
apk update --no-cache && \
apk add --upgrade ${tftpV}
ADD rootfs /
ENTRYPOINT ["/entrypoint.sh"]
CMD ["in.tftpd --ipv4 --foreground --listen --address 0.0.0.0:69 --create --secure -vvv /var/tftpboot"]