-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
35 lines (35 loc) · 897 Bytes
/
Dockerfile
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
# Dockerfile for build image
FROM alpine:3.14
RUN apk add --no-cache --update \
bash \
nginx \
php-fpm \
php-ldap \
php \
php-opcache \
php-gettext \
php-session \
php-openssl \
php-xml \
php-xmlreader \
php-xmlwriter \
php-gd \
php-json \
php-gmp \
php-zip \
php-iconv \
tzdata \
supervisor
# change TZ to your needs
RUN ln -s /usr/share/zoneinfo/Europe/Moscow /etc/localtime
WORKDIR /
ADD start.sh /
RUN chmod +x /start.sh
COPY ./usr /usr/
COPY ./etc /etc/
COPY ./usr/share/ldap-account-manager/config /etc/ldap-account-manager/config
# uncomment to append your ca cert for TLS connections i.e. LDAPS, place crt file in folder with Dockerfile
#COPY ca.crt /usr/local/share/ca-certificates/ca.crt
#RUN cat /usr/local/share/ca-certificates/ca.crt >> /etc/ssl/certs/ca-certificates.crt
STOPSIGNAL SIGTERM
CMD ["/start.sh"]