File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 1+ # workaround for node >= 22.18.0 on alpine 3.22. Remove when upgrading to alpine 3.23
2+ FROM docker.io/node:22-alpine3.22 AS node
3+
14# Build stage
25FROM docker.io/library/golang:1.25-alpine3.22 AS build-env
36
@@ -18,6 +21,9 @@ RUN apk --no-cache add \
1821 && npm install -g pnpm@10 \
1922 && rm -rf /var/cache/apk/*
2023
24+ # workaround for node >= 22.18.0 on alpine 3.22. Remove when upgrading to alpine 3.23
25+ COPY --from=node /usr/local/bin/node /usr/local/bin/node
26+
2127# Setup repo
2228COPY . ${GOPATH}/src/code.gitea.io/gitea
2329WORKDIR ${GOPATH}/src/code.gitea.io/gitea
Original file line number Diff line number Diff line change 1+ # workaround for node >= 22.18.0 on alpine 3.22. Remove when upgrading to alpine 3.23
2+ FROM docker.io/node:22-alpine3.22 AS node
3+
14# Build stage
25FROM docker.io/library/golang:1.25-alpine3.22 AS build-env
36
@@ -18,6 +21,9 @@ RUN apk --no-cache add \
1821 && npm install -g pnpm@10 \
1922 && rm -rf /var/cache/apk/*
2023
24+ # workaround for node >= 22.18.0 on alpine 3.22. Remove when upgrading to alpine 3.23
25+ COPY --from=node /usr/local/bin/node /usr/local/bin/node
26+
2127# Setup repo
2228COPY . ${GOPATH}/src/code.gitea.io/gitea
2329WORKDIR ${GOPATH}/src/code.gitea.io/gitea
You can’t perform that action at this time.
0 commit comments