Multi architecture docker base images
Available images:
docker buildx bake -f ruby/4.0/docker-bake.hclTo build only for your native architecture (faster, loads image locally):
docker buildx bake -f ruby/4.0/docker-bake.hcl \
--set '*.platform=linux/arm64' \
--set '*.cache-from=' \
--set '*.cache-to=' \
--loadLog in to ghcr.io for faster builds:
echo $GHCR_PAT | docker login ghcr.io -u USERNAME --password-stdinWithout this, you'll see errors like:
#9 importing cache manifest from ghcr.io/djbender/core:jammy-cache
#9 ERROR: failed to configure registry cache importer: failed to authorize: failed to fetch anonymous token: unexpected status: 401 Unauthorized
We use ruby , and erb templates to generate our Dockerfile's
You can install some useful git-hooks by install overcommit
gem install overcommitcp .overcommit.sample.yml .overcommit.ymlovercommit --install