-
Notifications
You must be signed in to change notification settings - Fork 130
Expand file tree
/
Copy pathDockerfile
More file actions
37 lines (33 loc) · 757 Bytes
/
Copy pathDockerfile
File metadata and controls
37 lines (33 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND noninteractive
RUN \
apt-get update &&\
apt-get install -y \
pkg-config \
attr \
acl \
samba \
smbclient \
ldap-utils \
winbind \
libnss-winbind \
libpam-winbind \
krb5-user \
krb5-kdc \
supervisor \
openvpn \
inetutils-ping \
ldb-tools \
vim \
curl \
dnsutils \
ntp &&\
apt-get clean autoclean &&\
apt-get autoremove --yes &&\
rm -rf /var/lib/{apt,dpkg,cache,log}/ &&\
rm -fr /tmp/* /var/tmp/*
VOLUME [ "/var/lib/samba", "/etc/samba/external" ]
ADD init.sh /init.sh
ADD domain.sh /domain.sh
RUN chmod 755 /init.sh /domain.sh
CMD /init.sh