-
Notifications
You must be signed in to change notification settings - Fork 1
/
web8.2.Dockerfile
34 lines (30 loc) · 916 Bytes
/
web8.2.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
FROM existenz/webstack:8.2
RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ --allow-untrusted gnu-libiconv; \
apk -U --no-cache add \
php82 \
php82-bcmath \
php82-curl \
php82-dom \
php82-exif \
php82-gd \
php82-iconv \
php82-intl \
php82-mbstring \
php82-pcntl \
php82-pdo_mysql \
php82-phar \
php82-posix \
php82-redis \
php82-session \
php82-xml \
php82-zip \
php82-tokenizer \
php82-fileinfo \
php82-xmlwriter \
php82-xmlreader \
php82-simplexml \
&& rm -rf /var/cache/apk/*
# See https://github.com/docker-library/php/issues/240
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
ONBUILD COPY --chown=php:nginx . /www