File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -57,11 +57,18 @@ build:
5757buildx :
5858 docker buildx build -f Dockerfile --progress=plain -t $TAG --build-arg CHIPSET_ARCH=x86 _64 -linux-gnu --load .
5959
60- # [docker] arm build w/docker-compose defaults
60+ # [docker] build w/docker-compose defaults
6161build-clean :
62- docker-compose build --pull --no-cache --build-arg CHIPSET_ARCH=aarch64 -linux-gnu
62+ #!/usr/bin/env bash
63+ set -euxo pipefail
64+
65+ if [[ {{ arch }} == " arm64" ]]; then
66+ docker-compose build --pull --no-cache --build-arg CHIPSET_ARCH=aarch64 -linux-gnu
67+ else
68+ docker-compose build --pull --no-cache --build-arg CHIPSET_ARCH=x86 _64 -linux-gnu
69+ fi
6370
64- # [docker] pull latest heroku image
71+ # [docker] pull latest image
6572pull :
6673 docker pull python:3.10 -slim-buster
6774
You can’t perform that action at this time.
0 commit comments