File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1.4
22
3- ARG BASE_IMAGE=shopware/docker-base:8.3
4-
53# pin versions
6- FROM ${BASE_IMAGE} as base-image
7- FROM ghcr.io/friendsofshopware /shopware-cli:latest-php-8.3 as shopware-cli
4+ FROM ghcr.io/shopware/docker-base:8.3 AS base-image
5+ FROM ghcr.io/shopware /shopware-cli:latest-php-8.3 AS shopware-cli
86
97# build
108
119FROM shopware-cli as build
1210
11+ ARG SHOPWARE_PACKAGES_TOKEN
12+
1313ADD . /src
1414WORKDIR /src
1515
16- RUN /usr/local/bin/entrypoint.sh shopware-cli project ci /src
17-
18- # build final image
16+ RUN --mount=type=secret,id=composer_auth,dst=/src/auth.json \
17+ --mount=type=cache,target=/root/.composer \
18+ --mount=type=cache,target=/root/.npm \
19+ /usr/local/bin/entrypoint.sh shopware-cli project ci /src
1920
2021FROM base-image
2122
You can’t perform that action at this time.
0 commit comments