Skip to content

Commit 34312a5

Browse files
author
Peter Simoncic
committed
add more missing packages and supervisor
1 parent b3fa71f commit 34312a5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ARG GROUP_ID
77
RUN echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
88

99
RUN apk --no-cache upgrade && \
10-
apk add --no-cache bash shadow nano curl unit unit-php7 \
10+
apk add --no-cache bash shadow nano curl supervisor unit unit-php7 \
1111
php7-common \
1212
php7-pecl-imagick \
1313
php7-mysqli \
@@ -34,6 +34,9 @@ RUN apk --no-cache upgrade && \
3434
php7-xmlwriter \
3535
php7-pdo \
3636
php7-phar \
37+
php7-session \
38+
php7-pdo_mysql \
39+
php7-pecl-redis \
3740
php7-pecl-mongodb@testing \
3841
php7-pecl-uuid@testing \
3942
php7-ctype
@@ -61,6 +64,8 @@ RUN if [ ${USER_ID:-1000} -ne 1000 ] && [ ${GROUP_ID:-1000} -ne 1000 ]; then \
6164

6265
STOPSIGNAL SIGTERM
6366

67+
WORKDIR /var/www/
68+
6469
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
6570

6671
CMD ["unitd","--user", "user", "--group", "user", "--no-daemon", "--control", "unix:/var/run/control.unit.sock"]

0 commit comments

Comments
 (0)