mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
update samba
This commit is contained in:
parent
6c227b4e02
commit
aebb69004d
@ -5,11 +5,9 @@
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add -U samba-common-tools samba-server \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
RUN apk add --no-cache samba-common-tools samba-server \
|
||||
|
||||
COPY smb.conf /etc/samba/
|
||||
COPY ./data/smb.conf /etc/samba/
|
||||
|
||||
VOLUME /etc/samba \
|
||||
/var/lib/samba
|
||||
|
@ -8,12 +8,12 @@ Linux and Unix.
|
||||
|
||||
## docker-compose.yml
|
||||
|
||||
```
|
||||
```yaml
|
||||
samba:
|
||||
image: vimagick/samba
|
||||
volumes:
|
||||
# - ./smb.conf:/etc/samba/smb.conf
|
||||
- /mnt/usb:/share
|
||||
- ./data/smb.conf:/etc/samba/smb.conf
|
||||
- ./share:/share
|
||||
net: host
|
||||
tty: yes
|
||||
restart: always
|
||||
|
@ -5,11 +5,9 @@
|
||||
FROM easypi/alpine-arm
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add -U samba-common-tools samba-server \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
RUN apk add --no-cache samba-common-tools samba-server \
|
||||
|
||||
COPY smb.conf /etc/samba/
|
||||
COPY ./data/smb.conf /etc/samba/
|
||||
|
||||
VOLUME /etc/samba \
|
||||
/var/lib/samba
|
||||
|
@ -1,7 +1,7 @@
|
||||
samba:
|
||||
image: easypi/samba-arm
|
||||
volumes:
|
||||
# - ./smb.conf:/etc/samba/smb.conf
|
||||
- ./data/smb.conf:/etc/samba/smb.conf
|
||||
- /mnt/usb:/share
|
||||
net: host
|
||||
tty: yes
|
||||
|
@ -1,7 +1,7 @@
|
||||
samba:
|
||||
image: vimagick/samba
|
||||
volumes:
|
||||
# - ./smb.conf:/etc/samba/smb.conf
|
||||
- ./data/smb.conf:/etc/samba/smb.conf
|
||||
- ./share:/share
|
||||
net: host
|
||||
tty: yes
|
||||
|
Loading…
Reference in New Issue
Block a user