forked from Fmstrat/samba-domain
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (30 loc) · 679 Bytes
/
Dockerfile
File metadata and controls
33 lines (30 loc) · 679 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
FROM ubuntu
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 \
ntp \
&& apt-get clean autoclean \
&& apt-get autoremove --yes \
&& rm -rf /var/lib/{apt,dpkg,cache,log}/ \
&& rm -fr /tmp/* /var/tmp/*
ADD init.sh /init.sh
ADD domain.sh /domain.sh
RUN chmod 755 /init.sh /domain.sh
CMD /init.sh