Skip to content

Commit ff85247

Browse files
committed
wip
1 parent 48ba89f commit ff85247

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
6262
RUN 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 ./
100100
RUN go mod graph | awk '{if ($1 !~ "@") print $2}' | xargs go get
101101

102102
WORKDIR /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
106106
ENV CGO_CFLAGS="-DFRANKENPHP_VERSION=$FRANKENPHP_VERSION $PHP_CFLAGS"

alpine.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ COPY caddy/go.mod caddy/go.sum ./
105105
RUN go mod graph | awk '{if ($1 !~ "@") print $2}' | xargs go get
106106

107107
WORKDIR /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
111111
ENV CGO_CFLAGS="-DFRANKENPHP_VERSION=$FRANKENPHP_VERSION $PHP_CFLAGS"

static-builder.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ COPY caddy/go.mod caddy/go.sum ./
8888
RUN go mod graph | awk '{if ($1 !~ "@") print $2}' | xargs go get
8989

9090
WORKDIR /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/*

0 commit comments

Comments
 (0)