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

fix: allow building images in arm64 #2161

Merged
merged 4 commits into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
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
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
Loading