Skip to content

Commit

Permalink
Fix bin/build-image.sh on Linux (#1131)
Browse files Browse the repository at this point in the history
Without the `DOCKER_BUILDKIT` environment variable the image fails to
build on Linux (note: this doesn't affect CI because CI doesn't use this
helper script).
  • Loading branch information
avelanarius authored Dec 19, 2024
1 parent 44cd2cf commit 38f12b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ QUESMA_BUILD_SHA=$(git rev-parse HEAD)
QUESMA_BUILD_DATE=$(git --no-pager log -1 --date=format:'%Y-%m-%d' --format="%ad")
QUESMA_VERSION="development"

export DOCKER_BUILDKIT=1

docker build --build-arg QUESMA_BUILD_DATE="$QUESMA_BUILD_DATE" --build-arg QUESMA_VERSION="$QUESMA_VERSION" --build-arg QUESMA_BUILD_SHA="$QUESMA_BUILD_SHA" -f quesma/Dockerfile -t quesma/quesma:nightly quesma

0 comments on commit 38f12b0

Please sign in to comment.