Dockerfile hinzugefügt
This commit is contained in:
parent
a19c779201
commit
ef564bc71e
1 changed files with 22 additions and 0 deletions
22
Dockerfile
Normal file
22
Dockerfile
Normal file
|
@ -0,0 +1,22 @@
|
|||
FROM alpine:3.22.0
|
||||
|
||||
LABEL maintainer="Phil <phil@hackmi.ch>"
|
||||
LABEL version="0.1"
|
||||
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"]
|
Loading…
Add table
Add a link
Reference in a new issue