Skip to content

Commit

Permalink
fix: allow building images in arm64 (#2161)
Browse files Browse the repository at this point in the history
This should allow building images in arm64, fixing our release issue.

I have tried this by running the docker image builder script locally (
on mac) to produce an arm64 image
  • Loading branch information
h4ck3rk3y authored Feb 15, 2024
1 parent 6cf770b commit acd884f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN apk update && apk add --no-cache bash protobuf-dev sudo shadow curl xz

# Install Nix
# We need to set filter-syscalls to false to allow Nix to work properly inside a container: https://github.com/NixOS/nix/issues/5258
ENV NIX_CONFIG=$'filter-syscalls = false\nexperimental-features = nix-command flakes'
ENV NIX_INSTALL_ARGS="--extra-conf 'filter-syscalls = false'"
RUN sh <(curl -L https://nixos.org/nix/install) --daemon --yes

ARG TARGETARCH
Expand Down
2 changes: 1 addition & 1 deletion core/server/Dockerfile.debug
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN apk update && apk add --no-cache bash protobuf-dev sudo shadow curl xz

# Install Nix
# We need to set filter-syscalls to false to allow Nix to work properly inside a container: https://github.com/NixOS/nix/issues/5258
ENV NIX_CONFIG=$'filter-syscalls = false\nexperimental-features = nix-command flakes'
ENV NIX_INSTALL_ARGS="--extra-conf 'filter-syscalls = false'"
RUN sh <(curl -L https://nixos.org/nix/install) --daemon --yes

# Make sure that you changed the port inside the APIC's code before changing it here
Expand Down

0 comments on commit acd884f

Please sign in to comment.