From 9bc53aae2781d4c866917c030cf076c08afc2d58 Mon Sep 17 00:00:00 2001 From: Coen Jacobs Date: Sun, 17 Jan 2021 21:26:07 +0100 Subject: [PATCH] Remove explicit Composer cache as buildx does that as well --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 480b1dfa..240bd4c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ RUN apk update && apk add git COPY --from=composer /usr/bin/composer /usr/bin/composer COPY ./composer.json /mozart/ WORKDIR /mozart/ -RUN --mount=type=cache,target=$(COMPOSER_HOME)/cache/ composer install --no-dev -o +RUN composer install --no-dev -o FROM base AS application RUN mkdir project