This repository has been archived on 2022-11-04. You can view files and clone it, but cannot push or open issues/pull-requests.
2020-04-18 17:06:41 +04:00
|
|
|
FROM alpine
|
|
|
|
MAINTAINER Vladimir Hodakov <vladimir@hodakov.me>
|
|
|
|
|
2020-04-18 17:55:47 +04:00
|
|
|
RUN apk add --no-cache tini bash samba-common-tools samba-server avahi avahi-tools
|
2020-04-18 17:41:46 +04:00
|
|
|
|
|
|
|
COPY entrypoint.sh /usr/local/bin/entrypoint
|
|
|
|
|
|
|
|
RUN ["chmod", "+x", "/usr/local/bin/entrypoint"]
|
2020-04-18 17:06:41 +04:00
|
|
|
|
2020-04-18 18:09:29 +04:00
|
|
|
VOLUME /etc/avahi \
|
2020-04-18 17:55:47 +04:00
|
|
|
/etc/samba \
|
2020-04-18 17:06:41 +04:00
|
|
|
/var/lib/samba \
|
|
|
|
/data
|
|
|
|
|
2020-04-18 17:41:46 +04:00
|
|
|
CMD ["/sbin/tini", "--", "/usr/local/bin/entrypoint"]
|