20 lines
No EOL
299 B
Docker
20 lines
No EOL
299 B
Docker
FROM alpine:3.22.0
|
|
|
|
LABEL maintainer="Phil <phil@hackmi.ch>"
|
|
LABEL description="Docker image for TFTP server using dnsmasq"
|
|
|
|
WORKDIR /
|
|
|
|
RUN apk add --no-cache \
|
|
bash \
|
|
dnsmasq
|
|
|
|
EXPOSE 69/udp
|
|
|
|
COPY start.sh init.sh /
|
|
|
|
RUN chmod +x start.sh init.sh
|
|
|
|
VOLUME ["/tftp"]
|
|
|
|
ENTRYPOINT ["./start.sh"] |