Introduce fickit-deploy image
This commit is contained in:
parent
3e5e8c9ba4
commit
4fb0c11736
7 changed files with 229 additions and 15 deletions
21
Dockerfile-deploy
Normal file
21
Dockerfile-deploy
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
FROM alpine:3.18
|
||||
|
||||
EXPOSE 67/udp
|
||||
EXPOSE 69/udp
|
||||
EXPOSE 80/tcp
|
||||
|
||||
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]
|
||||
|
||||
WORKDIR /srv
|
||||
|
||||
RUN apk add --no-cache \
|
||||
busybox-extras \
|
||||
supervisor \
|
||||
syslinux \
|
||||
tftp-hpa
|
||||
|
||||
RUN touch /var/lib/udhcpd/udhcpd.leases
|
||||
|
||||
COPY configs/deploy-supervisord.conf /etc/supervisord.conf
|
||||
COPY configs/udhcpd-sample.conf /etc/udhcpd.conf
|
||||
COPY configs/pxelinux.cfg /usr/share/syslinux/pxelinux.cfg/default
|
||||
Reference in a new issue