From a306f4f1f713b0b506e0cdeede48aa0c297b096c Mon Sep 17 00:00:00 2001 From: Mahyar Damavand Date: Sun, 26 May 2024 08:39:06 +0330 Subject: [PATCH] Add --no-cache to 'apk add' command in order to reduce docker image size (#1191) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b306bf0f..98313855 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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