Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workaround for aarch64 container image build #5423

Merged
merged 2 commits into from
Dec 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion cmd/pipecd/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
# web builder
FROM node:20.18.1-alpine3.21 AS web
# because of this issue, we choose node 18
# https://github.com/pipe-cd/pipecd/issues/5422
# https://github.com/nodejs/docker-node/issues/1335#issuecomment-2024344411
FROM node:18.20.5-alpine3.21 AS web

WORKDIR /app

COPY . .

RUN apk add --no-cache make git

# because of this issue, we set network-timeout to 300000
# https://github.com/pipe-cd/pipecd/issues/5422
RUN yarn config set network-timeout 300000

RUN make update/web-deps
RUN make build/web

Expand Down
Loading