From 6f2aa465d7d34c3612c5bfdd24aa8e1fee8a5be9 Mon Sep 17 00:00:00 2001 From: Martin Milata Date: Fri, 1 Nov 2024 01:14:50 +0100 Subject: [PATCH] build: work around broken docker build Broken by a44c660ccc5bcc5ee31c1cced3d6b49c5e8401c1 --- build-docker.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build-docker.sh b/build-docker.sh index 17c74ab71..a5598a4f1 100755 --- a/build-docker.sh +++ b/build-docker.sh @@ -185,6 +185,11 @@ if [ $INIT -eq 1 ]; then echo ">>> DOCKER BUILD ALPINE_VERSION=$ALPINE_VERSION ALPINE_ARCH=$ALPINE_ARCH NIX_VERSION=$NIX_VERSION -t $CONTAINER_NAME" echo + # some Nix installations have problem with shell.nix -> ci/shell.nix symlink + # docker can't handle ci/shell.nix -> shell.nix + # let's copy the file and try to fix paths ... + sed "s|./ci/|./|" < shell.nix > ci/shell.nix + $DOCKER build \ --network=host \ --build-arg ALPINE_VERSION="$ALPINE_VERSION" \