Skip to content

Commit 5427b7e

Browse files
committed
dockerfile changes
1 parent 44a65b4 commit 5427b7e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@ FROM alpine:3.8
22

33
WORKDIR /app
44

5-
RUN apk add --no-cache wget ca-certificates && \
6-
wget -O /etc/apk/keys/phpearth.rsa.pub https://repos.php.earth/alpine/phpearth.rsa.pub && \
7-
echo "https://repos.php.earth/alpine/v3.7" >> /etc/apk/repositories && \
8-
apk add --no-cache --update certbot nginx dcron curl tini php7.2 php7.2-bcmath php7.2-common php7.2-dom php7.2-fpm php7.2-gd php7.2-mbstring php7.2-openssl php7.2-zip php7.2-pdo php7.2-phar php7.2-json php7.2-pdo_mysql php7.2-session php7.2-ctype php7.2-tokenizer php7.2-zlib php7.2-simplexml && \
9-
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
5+
RUN apk add --no-cache --update ca-certificates certbot nginx dcron curl tini php7 php7-bcmath php7-common php7-dom php7-fpm php7-gd php7-mbstring php7-openssl php7-zip php7-pdo php7-phar php7-json php7-pdo_mysql php7-session php7-ctype php7-tokenizer php7-zlib \
6+
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
107

118
COPY . ./
129

0 commit comments

Comments
 (0)