Ajout projet webAduc

This commit is contained in:
2020-11-20 13:56:16 +01:00
parent 6161dbe38f
commit 1c2b707ce8
141 changed files with 11677 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
FROM alpine:3.12
LABEL author="Serge NOEL <serge.noel@easylinux.fr>" \
name="Samba AD DC - Alpine" \
description="Provides a Docker image for Samba 4 DC on Alpine Linux."
# Install
RUN apk add --no-cache samba-dc \
# Remove default config data, if any
&& rm -rf /etc/samba \
&& rm -rf /var/lib/samba \
&& rm -rf /var/log/samba \
# Create needed symbolic links
&& ln -s /samba/etc /etc/samba \
&& ln -s /samba/lib /var/lib/samba \
&& ln -s /samba/log /var/log/samba
# Ports
EXPOSE 37/udp \
53 \
88 \
123/udp \
135/tcp \
137/udp \
138/udp \
139 \
389 \
445 \
464 \
636/tcp \
49152-65535/tcp \
3268/tcp \
3269/tcp
# Volume config
VOLUME ["/samba"]
# Entrypoint
COPY ./entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
CMD ["samba"]