Official Bridge multi architecture docker base images
Available images:
-
[Optional] Log in to ghcr.io for build cache
$ echo $GHCR_PAT | docker login ghcr.io -u USERNAME --password-stdin
Login Succeeded
Note: without this step, you'll see messages like when building:
#9 importing cache manifest from ghcr.io/get-bridge/core:jammy-cache
#9 ERROR: failed to configure registry cache importer: failed to authorize: failed to fetch anonymous token: unexpected status: 401 Unauthorized
docker buildx bake -f core/jammy/docker-bake.hcl
- or if you get an error
PWD=$(pwd) docker buildx bake -f core/jammy/docker-bake.hcl
We use ruby
, and erb
templates to generate our Dockerfile's
You can install some useful git-hooks by install overcommit
gem install overcommit
cp .overcommit.sample.yml .overcommit.yml
overcommit --install