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

Build and cross-build Docker images using Nix #71

Merged
merged 2 commits into from
May 23, 2024

Conversation

evan-goode
Copy link
Member

Resolves #70.

This ended up being a bigger change than I anticipated:

  • We now build Docker images using nixpkgs's dockerTools.buildLayeredImage rather than using a Dockerfile that calls Nix as described here by mitchellh.
  • DeterminateSystems/magic-nix-cache-action is now used to greatly speed up the CI
  • Docker images for multiple architectures are uploaded to the registry using Buildah
  • aarch64-linux Docker images are built in the CI using Nix and qemu-user-static

I think this would have also worked, but I want to experiment with doing it all with Nix.

Also bump version to 1.0.4.

@evan-goode
Copy link
Member Author

evan-goode commented May 13, 2024

Blocked by #72 since I'd like to release that change ASAP.

@evan-goode evan-goode marked this pull request as draft May 13, 2024 21:57
SQLite database schema has been updated and the Docker build system has
been radically changed, I think this warrants a semver minor version
bump.
@evan-goode
Copy link
Member Author

Bumped version to 1.1.0 due to the magnitude of the changes.

@evan-goode evan-goode marked this pull request as ready for review May 23, 2024 20:58
@evan-goode evan-goode merged commit f37e9a5 into unmojang:master May 23, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker Images for ARM64
1 participant