Skip to content

Commit

Permalink
Update readme to expose OS_CODENAME
Browse files Browse the repository at this point in the history
  • Loading branch information
hu13 committed Feb 27, 2024
1 parent b09d297 commit a59545a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ Docker container to do cross compilation (Linux, windows, macOS, ARM, ARM64) of
docker pull ghcr.io/gythialy/golang-cross:latest
```
- golang-cross-builder
```
docker pull ghcr.io/gythialy/golang-cross-builder:v1.22.0-0-bullseye
```
```
docker pull ghcr.io/gythialy/golang-cross-builder:v1.17.1
```
Expand All @@ -27,9 +30,10 @@ Docker container to do cross compilation (Linux, windows, macOS, ARM, ARM64) of
> Please follow the guide to [pack the SDK](https://github.com/tpoechtrager/osxcross#packaging-the-sdk) first or build by [GitHub Action](https://github.com/gythialy/golang-cross/actions/workflows/osx-sdk.yaml)
- Build golang-cross image
```
docker build --build-arg GO_VERSION=1.16.2 \
docker build --build-arg GO_VERSION=1.22.0 \
--build-arg OS_CODENAME=bullseye \
--build-arg GOLANG_DIST_SHA=542e936b19542e62679766194364f45141fde55169db2d8d01046555ca9eb4b8 \
--build-arg GORELEASER_VERSION=0.162.0 \
--build-arg GORELEASER_VERSION=1.24.0 \
--build-arg GORELEASER_SHA=4b7d2f1e59ead8047fcef795d66236ff6f8cfe7302c1ff8fb31bd360a3c6f32e \
-f Dockerfile \
-t ghcr.io/gythialy/golang-cross:latest .
Expand Down

0 comments on commit a59545a

Please sign in to comment.