Skip to content

Commit

Permalink
add dhcp image
Browse files Browse the repository at this point in the history
  • Loading branch information
tmacro committed Nov 29, 2024
1 parent fe67caf commit b0925ab
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions images/dhcp/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM alpine:3.20.3

RUN apk add --update --no-cache dhcp

RUN touch /var/lib/dhcp/dhcpd.leases

CMD ["/usr/sbin/dhcpd", "-4", "-f", "-d", "--no-pid", "-cf", "/etc/dhcp/dhcpd.conf"]
4 changes: 4 additions & 0 deletions images/dhcp/image.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[image]
registry = ghcr.io
repository = tmacro/img
platforms = linux/amd64

0 comments on commit b0925ab

Please sign in to comment.