docker-netboot/build/Dockerfile
2025-04-24 10:50:18 +02:00

9 lines
305 B
Docker

FROM ghcr.io/netbootxyz/netbootxyz
COPY smb.conf /etc/samba/smb.conf
COPY samba.ini /etc/supervisor.d/samba.ini
RUN apk add samba \
&& adduser isos --disabled-password \
&& echo -e "isos\nisos" | smbpasswd -a -s -c /etc/samba/smb.conf isos
RUN cat /etc/supervisor.d/samba.ini >> /etc/supervisor.conf