Skip to content

Commit bb06af6

Browse files
authored
QUA-502: Set base image to alpine:3.13.7 (#91)
1 parent f0eb206 commit bb06af6

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

‎Dockerfile

+4-9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3.15.0
1+
FROM alpine:3.13.7
22

33
RUN adduser -u 9000 -D app
44

@@ -20,14 +20,9 @@ RUN apk add --no-cache \
2020
php7-tokenizer \
2121
php7-xml \
2222
php7-xmlwriter \
23-
php7-zlib && \
24-
EXPECTED_SIGNATURE=$(php -r "echo file_get_contents('https://composer..io/installer.sig');") && \
25-
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \
26-
ACTUAL_SIGNATURE=$(php -r "echo hash_file('SHA384', 'composer-setup.php');") && \
27-
[ "$EXPECTED_SIGNATURE" = "$ACTUAL_SIGNATURE" ] || (echo "Invalid Composer installer signature"; exit 1) && \
28-
php composer-setup.php --quiet && \
29-
mv composer.phar /usr/local/bin/composer && \
30-
rm -r composer-setup.php ~/.composer
23+
php7-zlib
24+
25+
COPY --from=composer /usr/bin/composer /usr/local/bin/composer
3126

3227
COPY composer.json composer.lock ./
3328

0 commit comments

Comments
 (0)