Skip to content

Commit d74328f

Browse files
committed
changes for trying docker hub build
1 parent 34895c0 commit d74328f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
44

55
RUN apk update
66

7+
RUN apk add --update libzip-dev libmcrypt-dev libpng-dev libjpeg-turbo-dev libxml2-dev icu-dev curl-dev
8+
9+
RUN apk add --update --virtual build-dependencies build-base gcc wget autoconf
10+
711
RUN set -x \
8-
&& apk add git \
12+
&& apk add --no-cache git \
913
libxml2-dev \
1014
libressl-dev \
1115
oniguruma-dev \
@@ -28,10 +32,6 @@ RUN touch /var/log/nginx/access.log \
2832
RUN ln -sf /dev/stdout /var/log/nginx/access.log \
2933
&& ln -sf /dev/stderr /var/log/nginx/error.log
3034

31-
RUN apk add --update libzip-dev libmcrypt-dev libpng-dev libjpeg-turbo-dev libxml2-dev icu-dev curl-dev
32-
33-
RUN apk add --update --virtual build-dependencies build-base gcc wget autoconf
34-
3535
RUN docker-php-ext-install \
3636
phar \
3737
bcmath \

0 commit comments

Comments
 (0)