Skip to content

Commit

Permalink
Setup custom builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuxel committed Mar 16, 2022
1 parent a0c8560 commit 1abd330
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .devcontainer/cache/build-cache-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ cd "${SCRIPT_PATH}/../.."

echo "[$(date)] Starting image build and push..."
export DOCKER_BUILDKIT=1
docker buildx create --use --name vscode-dev-containers
docker run --privileged --rm tonistiigi/binfmt --install all
docker buildx build --push --platform linux/amd64,linux/arm64 -t ${CONTAINER_IMAGE_REPOSITORY}:"${TAG}" -f "${SCRIPT_PATH}/cache.Dockerfile" .

Expand Down

0 comments on commit 1abd330

Please sign in to comment.