Add --no-cache to 'apk add' command in order to reduce docker image size (#1191)

This commit is contained in:
Mahyar Damavand 2024-05-26 08:39:06 +03:30 committed by GitHub
commit a306f4f1f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,7 +12,7 @@ FROM php:7.4-cli-alpine
# if run in China
# RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
RUN apk add \
RUN apk add --no-cache \
libzip-dev \
oniguruma-dev