首次提交
All checks were successful
Build and Push TFTP Docker Image / docker-build-push (push) Successful in 29s
All checks were successful
Build and Push TFTP Docker Image / docker-build-push (push) Successful in 29s
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM alpine:latest
|
||||
|
||||
RUN apk add --no-cache tftp-hpa curl
|
||||
|
||||
RUN mkdir -p /var/lib/tftpboot
|
||||
|
||||
VOLUME /var/lib/tftpboot
|
||||
|
||||
EXPOSE 69/udp
|
||||
|
||||
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||
RUN chmod +x /usr/local/bin/entrypoint.sh
|
||||
|
||||
WORKDIR /var/lib/tftpboot
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
||||
Reference in New Issue
Block a user