Add fleet hostnaming
This commit is contained in:
@@ -3,4 +3,9 @@
|
||||
# entirely as --flags from docker-compose.yml.
|
||||
FROM harbor.bitasylum.org/dockerhub/library/alpine:3.20
|
||||
RUN apk add --no-cache dnsmasq
|
||||
# fleet-namer: --dhcp-script that assigns creative starship hostnames per MAC,
|
||||
# server-side (keeps the workstation image neutral). COPY'd in root-owned, 0755
|
||||
# so dnsmasq will execute it. Uses busybox sha256sum/cut/wc — all in the image.
|
||||
COPY fleet-namer /usr/local/bin/fleet-namer
|
||||
RUN chmod 0755 /usr/local/bin/fleet-namer
|
||||
ENTRYPOINT ["dnsmasq"]
|
||||
|
||||
Reference in New Issue
Block a user