Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
aler9 committed Aug 21, 2024
1 parent ded708e commit 26a2005
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions utils.mk
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ export DOCKERFILE_BUILD_32

build_32: enable_multiarch
echo "$$DOCKERFILE_BUILD_32" | docker build . -f - -t build32
docker run --rm -v $(PWD):/o build32 sh -c "mkdir -p /o/build && rm -rf /o/build/mtxrpicam_32 && mv /s/build/mtxrpicam_32 /o/build/"
mkdir -p build
docker run --rm -v $(PWD):/o build32 sh -c "rm -rf /o/build/mtxrpicam_32 && mv /s/build/mtxrpicam_32 /o/build/"

define DOCKERFILE_BUILD_64
FROM multiarch/qemu-user-static:x86_64-aarch64 AS qemu
Expand All @@ -72,7 +73,8 @@ export DOCKERFILE_BUILD_64

build_64: enable_multiarch
echo "$$DOCKERFILE_BUILD_64" | docker build . -f - -t build64
docker run --rm -v $(PWD):/o build64 sh -c "mkdir -p /o/build && rm -rf /o/build/mtxrpicam_64 && mv /s/build/mtxrpicam_64 /o/build/"
mkdir -p build
docker run --rm -v $(PWD):/o build64 sh -c "&& rm -rf /o/build/mtxrpicam_64 && mv /s/build/mtxrpicam_64 /o/build/"

define DOCKERFILE_TEST_BULLSEYE_32
FROM multiarch/qemu-user-static:x86_64-arm AS qemu
Expand Down

0 comments on commit 26a2005

Please sign in to comment.