mirror of
https://github.com/go-gitea/gitea
synced 2025-09-18 14:48:13 +00:00
Support Node.js 22.6 with type stripping (#35427)
This solves the [docker build failure](https://github.com/go-gitea/gitea/actions/runs/17514788636/job/49750917680) on `linux/riscv64` by enabling the experimental flag on Node.js before 22.18.
This commit is contained in:
@@ -18,9 +18,6 @@ RUN apk --no-cache add \
|
||||
&& npm install -g pnpm@10 \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
# workaround for node >= 22.18.0 on alpine 3.22. Remove when upgrading to alpine 3.23
|
||||
COPY --from=docker.io/node:22-alpine3.22 /usr/local/bin/node /usr/local/bin/node
|
||||
|
||||
# Setup repo
|
||||
COPY . ${GOPATH}/src/code.gitea.io/gitea
|
||||
WORKDIR ${GOPATH}/src/code.gitea.io/gitea
|
||||
|
Reference in New Issue
Block a user