diff options
| author | Bret Koppel <bret@olo.com> | 2025-10-07 09:00:37 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-07 09:00:37 -0400 |
| commit | 910d7fd656b9e957181732b36761449de5a970d1 (patch) | |
| tree | 0f8ee46af3e93aa489785d64d54c5e155ef0057b /ci/docker-build.sh | |
| parent | 9adba239b937df2830a5110adaa1dae17b7dd7d7 (diff) | |
| parent | 0ad86ba37be273ee1fe4d9bdd5f7bb15c5701abf (diff) | |
Merge pull request #1 from ololabs/initial-commit
initial commit
Diffstat (limited to 'ci/docker-build.sh')
| -rwxr-xr-x | ci/docker-build.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ci/docker-build.sh b/ci/docker-build.sh new file mode 100755 index 0000000..05f180e --- /dev/null +++ b/ci/docker-build.sh @@ -0,0 +1,26 @@ +#!/bin/bash -e + +. env.sh + +builddir='tmp' +container='snow' + +rm -rf ${builddir} +mkdir ${builddir} +rsync -aq data ${builddir} +pushd ${builddir} 2>/dev/null + +tar Jcvf docker-start.tar.xz data/ +docker stop ${container} || true +docker container prune -f +docker rmi --force ${container} + +DOCKER_BUILDKIT=0 docker compose --ansi "never" build \ + --no-cache \ + --pull \ + --progress "plain" + +popd 2>/dev/null +rm -rf tmp + +exit 0 |
