Initial commit
This commit is contained in:
commit
d08a8fe1e9
14
.drone.yml
Normal file
14
.drone.yml
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.idea
|
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
FROM alpine
|
||||||
|
MAINTAINER Vladimir Hodakov <vladimir@hodakov.me>
|
||||||
|
|
||||||
|
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
|
Reference in New Issue
Block a user