Comments (6)
It should be possible to build images for both amd64 and arm64 via buildx
docker buildx build --platform linux/amd64,linux/arm64 .
Other option is to run docker build on two different systems (amd64 and arm64).
from docker.
IIRC, Github Actions have arm64 agents and you don't have to wait for them for as long as for Travis CI.
from docker.
A bit tangential to this issue, but might be handy for folks looking for nix docker image that can run on arm64/aarch64:
There's an unofficial nix arm64 image at docker hub. Its layers seem to be identical to that of the official image and for me it worked as a drop-in replacement but YMMV.
from docker.
I found it easier to just use nixery.dev/arm64/shell/nixunstable.
Anyway an official image for arm64 is more than welcome.
from docker.
FYI I have a multiarch docker image of nixos/nix
at https://hub.docker.com/r/silex/nix
I'd be happy to throw it away when the official image supports arm64/v8
.
from docker.
This was now done with 2.5.0
from docker.
Related Issues (20)
- nixpkgs-unstable included in the image HOT 8
- SSL error in 2.3.6 HOT 17
- bash not installed HOT 1
- cannot execute nix-shell with pinned nixpkgs in CI environment HOT 3
- nix-build works locally, but not in docker HOT 2
- Please push tagged nixos/nix:2.3.10 to Docker Hub HOT 1
- nix-build expects git to be around, it's not in the image HOT 10
- error: could not set permissions on '/nix/var/nix/profiles/per-user' to 755 HOT 1
- Possibly non-optimal default order of lookups in nsswitch.conf HOT 1
- unable to install jdk from nix-env HOT 1
- Docker HUB is dysfunctional for free accounts HOT 5
- error: opening file '/default.nix': No such file or directory HOT 1
- Where is configuration.nix ? HOT 1
- NixOS 21.11 image HOT 1
- Update nix to 2.4 HOT 2
- Sources of the 2.5.0 image HOT 2
- Docker hub image unexpectedly uses Nix 2.5 HOT 1
- Channel update fails with latest nixos/nix image HOT 2
- Missing Dockerfile for nixos/nix:2.5.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker.