Initial commit
This commit is contained in:
8
build/Dockerfile
Normal file
8
build/Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
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
|
||||
5
build/samba.ini
Normal file
5
build/samba.ini
Normal file
@@ -0,0 +1,5 @@
|
||||
[program:smbd]
|
||||
command=smbd --foreground --no-process-group --debug-stdout --configfile /etc/samba/smb.conf
|
||||
|
||||
[program:nmbd]
|
||||
command=nmbd --foreground --no-process-group --debug-stdout --configfile /etc/samba/smb.conf
|
||||
10
build/smb.conf
Normal file
10
build/smb.conf
Normal file
@@ -0,0 +1,10 @@
|
||||
[global]
|
||||
workgroup = WORKGROUP
|
||||
security = user
|
||||
|
||||
[assets]
|
||||
path = /assets
|
||||
read only = yes
|
||||
guest ok = yes
|
||||
browseable = yes
|
||||
guest account = isos
|
||||
Reference in New Issue
Block a user