Skip to content

Commit

Permalink
chore: fix issue with watcher building on arm64 (weaveworks#4675)
Browse files Browse the repository at this point in the history
  • Loading branch information
casibbald authored Feb 4, 2025
1 parent 4e8ebf3 commit e7efdb9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ archives:
gitops-
{{- title .Os }}-
{{- if eq .Arch "amd64" }}x86_64
{{- if eq .Arch "arm64" }}arm64
{{- else }}{{ .Arch }}{{ end }}
builds:
- <<: &build_defaults
Expand Down
3 changes: 2 additions & 1 deletion gitops-server.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# UI build
FROM node:22-bookworm@sha256:ae2f3d4cc65d251352eca01ba668824f651a2ee4d2a37e2efb22649521a483fd AS ui
RUN apt-get update -y && apt-get install -y build-essential
RUN apt-get update -y && apt-get install -y build-essential python3 g++
RUN npm install -g node-gyp
RUN mkdir -p /home/app && chown -R node:node /home/app
WORKDIR /home/app
USER node
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,8 @@
"packageManager": "[email protected]",
"@parcel/resolver-default": {
"packageExports": true
},
"overrides": {
"@parcel/watcher": "2.2.0"
}
}

0 comments on commit e7efdb9

Please sign in to comment.