diff --git a/Dockerfile b/Dockerfile index bfb67cb..b41a88a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,6 +28,8 @@ RUN \ rm -rf /var/lib/{apt,dpkg,cache,log}/ &&\ rm -fr /tmp/* /var/tmp/* +VOLUME [ "/var/lib/samba", "/etc/samba/external" ] + ADD init.sh /init.sh ADD domain.sh /domain.sh RUN chmod 755 /init.sh /domain.sh diff --git a/arm.Dockerfile b/arm.Dockerfile index 26fdf5b..4c39b25 100644 --- a/arm.Dockerfile +++ b/arm.Dockerfile @@ -25,6 +25,8 @@ RUN \ rm -rf /var/lib/{apt,dpkg,cache,log}/ &&\ rm -fr /tmp/* /var/tmp/* +VOLUME [ "/var/lib/samba", "/etc/samba/external" ] + ADD init.sh /init.sh ADD domain.sh /domain.sh RUN chmod 755 /init.sh /domain.sh