2020-04-16 15:05:22 -04:00
|
|
|
FROM ubuntu:16.04
|
2018-11-29 02:43:16 -05:00
|
|
|
RUN apt-get update -qqy && apt-get install -qqy samba ldap-utils
|
|
|
|
ADD . /fixture
|
|
|
|
RUN chmod +x /fixture/src/main/resources/provision/installsmb.sh
|
|
|
|
RUN /fixture/src/main/resources/provision/installsmb.sh
|
|
|
|
|
|
|
|
EXPOSE 389
|
|
|
|
EXPOSE 636
|
|
|
|
EXPOSE 3268
|
|
|
|
EXPOSE 3269
|
|
|
|
|
|
|
|
CMD service samba-ad-dc restart && sleep infinity
|