File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,8 +61,8 @@ ENV PATH=/usr/local/go/bin:$PATH
6161# This is required to link the FrankenPHP binary to the PHP binary
6262RUN apt-get update && \
6363 apt-get -y --no-install-recommends install \
64- cmake \
65- git \
64+ cmake \
65+ git \
6666 libargon2-dev \
6767 libbrotli-dev \
6868 libcurl4-openssl-dev \
@@ -100,7 +100,7 @@ COPY --link caddy/go.mod caddy/go.sum ./
100100RUN go mod graph | awk '{if ($1 !~ "@") print $2}' | xargs go get
101101
102102WORKDIR /go/src/app
103- ADD --link . ./
103+ COPY --link . ./
104104
105105# See https://github.com/docker-library/php/blob/master/8.3/bookworm/zts/Dockerfile#L57-L59 for PHP values
106106ENV CGO_CFLAGS="-DFRANKENPHP_VERSION=$FRANKENPHP_VERSION $PHP_CFLAGS"
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ COPY caddy/go.mod caddy/go.sum ./
105105RUN go mod graph | awk '{if ($1 !~ "@") print $2}' | xargs go get
106106
107107WORKDIR /go/src/app
108- ADD --link . ./
108+ COPY --link . ./
109109
110110# See https://github.com/docker-library/php/blob/master/8.3/alpine3.20/zts/Dockerfile#L53-L55
111111ENV CGO_CFLAGS="-DFRANKENPHP_VERSION=$FRANKENPHP_VERSION $PHP_CFLAGS"
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ COPY caddy/go.mod caddy/go.sum ./
8888RUN go mod graph | awk '{if ($1 !~ "@") print $2}' | xargs go get
8989
9090WORKDIR /go/src/app
91- ADD --link . ./
91+ COPY --link . ./
9292
93- RUN --mount=type=secret,id=github-token GITHUB_TOKEN=$(cat /run/secrets/github-token) ./build-static.sh && git status && \
93+ RUN --mount=type=secret,id=github-token GITHUB_TOKEN=$(cat /run/secrets/github-token) ./build-static.sh && \
9494 rm -Rf dist/static-php-cli/source/*
You can’t perform that action at this time.
0 commit comments