We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cca15fa + 188665a commit 8507ed4Copy full SHA for 8507ed4
Dockerfile
@@ -4,18 +4,21 @@ ARG BASE_IMAGE=shopware/docker-base:8.3
4
5
# pin versions
6
FROM ${BASE_IMAGE} as base-image
7
-FROM ghcr.io/friendsofshopware/shopware-cli:latest-php-8.3 as shopware-cli
+FROM ghcr.io/shopware/shopware-cli:latest-php-8.3 AS shopware-cli
8
9
# build
10
11
FROM shopware-cli as build
12
13
+ARG SHOPWARE_PACKAGES_TOKEN
14
+
15
ADD . /src
16
WORKDIR /src
17
-RUN /usr/local/bin/entrypoint.sh shopware-cli project ci /src
-
18
-# build final image
+RUN --mount=type=secret,id=composer_auth,dst=/src/auth.json \
19
+ --mount=type=cache,target=/root/.composer \
20
+ --mount=type=cache,target=/root/.npm \
21
+ /usr/local/bin/entrypoint.sh shopware-cli project ci /src
22
23
FROM base-image
24
0 commit comments