Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update base image to alpine:latest #423

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM alpine
FROM alpine:latest

MAINTAINER David Personette <[email protected]>

# Install samba
Expand Down Expand Up @@ -65,4 +66,4 @@ HEALTHCHECK --interval=60s --timeout=15s \
VOLUME ["/etc", "/var/cache/samba", "/var/lib/samba", "/var/log/samba",\
"/run/samba"]

ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"]
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"]
4 changes: 2 additions & 2 deletions samba.sh
Original file line number Diff line number Diff line change
Expand Up @@ -293,5 +293,5 @@ elif ps -ef | egrep -v grep | grep -q smbd; then
echo "Service already running, please restart container to apply changes"
else
[[ ${NMBD:-""} ]] && ionice -c 3 nmbd -D
exec ionice -c 3 smbd -FS --no-process-group </dev/null
fi
exec ionice -c 3 smbd -F --debug-stdout --no-process-group </dev/null
fi