less file shares
This commit is contained in:
@@ -12,6 +12,8 @@ RUN apt-get update \
|
||||
libnss-winbind \
|
||||
libpam-winbind \
|
||||
python3 \
|
||||
rclone \
|
||||
rsync \
|
||||
samba \
|
||||
samba-vfs-modules \
|
||||
sqlite3 \
|
||||
@@ -19,14 +21,15 @@ RUN apt-get update \
|
||||
winbind \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN mkdir -p /app /data/private /data/public /data/fslogix /data/groups /state /etc/samba/generated
|
||||
RUN mkdir -p /app /data/private /data/fslogix /data/groups/data /data/groups/archive /state
|
||||
|
||||
COPY app/reconcile_shares.py /app/reconcile_shares.py
|
||||
COPY app/backup_to_destination.py /app/backup_to_destination.py
|
||||
COPY app/init.sh /app/init.sh
|
||||
COPY etc/samba/smb.conf /app/smb.conf.template
|
||||
|
||||
RUN chmod +x /app/init.sh /app/reconcile_shares.py \
|
||||
&& touch /etc/samba/generated/shares.conf
|
||||
RUN chmod +x /app/init.sh /app/reconcile_shares.py /app/backup_to_destination.py \
|
||||
&& true
|
||||
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
CMD ["/app/init.sh"]
|
||||
|
||||
Reference in New Issue
Block a user