Build containers for cross-compiling turbo.
Base images are based on images built from https://github.com/goreleaser/goreleaser-cross
Process for building the base images:
- fork goreleaser-cross
- in
.env
set GO_VERSION=1.18.5 - override
IMAGE_BASE_NAME
andIMAGE_NAME
inMakefile
to target our repository - if desired, add
LABEL org.opencontainers.image.source https://github.com/vercel/turborepo
to the end ofDockerfile.base
andDockerfile
to associate w/ Vercel Turborepo repository - commit, ensure git is clean
- tag as
v1.18.5
make goreleaser-cross-base
make docker-push-base
make manifest-create-base
make manifest-push-base
make gorelease-cross
make docker-push
make manifest-create
make manifest-push
After above base images are available: 2. make push-turbo-cross