From d08a8fe1e94ae664a590f9cf37a5151021ef0f54 Mon Sep 17 00:00:00 2001 From: Vladimir Hodakov Date: Sat, 18 Apr 2020 17:06:41 +0400 Subject: [PATCH] Initial commit --- .drone.yml | 14 ++++++++++++++ .gitignore | 1 + Dockerfile | 15 +++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 .drone.yml create mode 100644 .gitignore create mode 100644 Dockerfile diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..baf8929 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,14 @@ +--- +kind: pipeline +type: docker +name: build + +steps: +- name: docker + image: plugins/docker + settings: + username: fat0troll + password: + from_secret: registry_password + repo: fat0troll/samba-with-avahi + auto_tag: true diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..485dee6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b36fae6 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM alpine +MAINTAINER Vladimir Hodakov + +RUN apk add --no-cache samba-common-tools samba-server + +VOLUME /etc/samba \ + /var/lib/samba \ + /data + +EXPOSE 137/udp \ + 138/udp \ + 139/tcp \ + 445/tcp + +CMD nmbd -D && smbd -FS --no-process-group