Skip to content

Commit

Permalink
update darwin cross images; fix cross
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Pennebaker committed Jan 4, 2024
1 parent 8f011a4 commit 0aa1b35
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cross.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[target.aarch64-apple-darwin]
image = "freeznet/aarch64-apple-darwin-cross:11.3"
image = "freeznet/aarch64-apple-darwin-cross:11.3.1"

[target.x86_64-apple-darwin]
image = "freeznet/x86_64-apple-darwin-cross:11.3"
image = "freeznet/x86_64-apple-darwin-cross:11.3.1"
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,9 @@ BSD-2-Clause

## Recommended

* [Docker First Aid Kit](https://github.com/mcandre/docker-first-aid-kit)
* a host capable of running musl/Linux containers (e.g. a GNU/Linux, musl/Linux, macOS, or Windows host)
* [Docker First Aid Kit](https://github.com/mcandre/docker-first-aid-kit)
* Apply `DOCKER_DEFAULT_PLATFORM` = `linux/amd64` environment variable
* [ASDF](https://asdf-vm.com/) 0.10 (run `asdf reshim` after each Rust application binary installation)
* [direnv](https://direnv.net/) 2
* [cargo-cache](https://crates.io/crates/cargo-cache)
Expand Down
10 changes: 10 additions & 0 deletions sample.envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh
#
# Install:
# cp sample.envrc .envrc
#
# Uninstall:
# rm .envrc

source_up
export DOCKER_DEFAULT_PLATFORM='linux/amd64'

0 comments on commit 0aa1b35

Please sign in to comment.