Skip to content

Commit

Permalink
Add build script that builds a docker container into a file.
Browse files Browse the repository at this point in the history
  • Loading branch information
dwt committed Dec 10, 2024
1 parent 0dd274d commit b022ce3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions bin/build_docker_to_file
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env sh
set -xe

cd "$(dirname "$0")"

export ZOPE_TAG=latest

cd ..
docker buildx bake --set '*.platform=linux/amd64' zope

cd dist
docker image save localhost/zope:$ZOPE_TAG > zope:latest.tar

0 comments on commit b022ce3

Please sign in to comment.