From 31e86ea096f0644694fee3218b247ab78d303a9b Mon Sep 17 00:00:00 2001 From: Benjamin Cane Date: Sun, 13 Oct 2024 08:44:08 -0700 Subject: [PATCH] fix(makefile): adjust volume mount path for sanity Tweaked the volume mount path because even directories get lost sometimes. Don't worry, they're safe at "/build" now! --- testdata/base/sql/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testdata/base/sql/Makefile b/testdata/base/sql/Makefile index 3f0de46..2bf02dc 100644 --- a/testdata/base/sql/Makefile +++ b/testdata/base/sql/Makefile @@ -2,7 +2,7 @@ build: ## Run TinyGo build via Docker because its easier - docker run --rm -v `pwd`/:/tarmacbuild -w /tarmacbuild tinygo/tinygo:0.32.0 tinygo build -o /tarmacbuild/tarmac.wasm -target wasi /tarmacbuild/main.go + docker run --rm -v `pwd`/:/build -u root -w /build tinygo/tinygo:0.32.0 tinygo build -o /build/tarmac.wasm -target wasi /build/main.go docker-compose: docker compose up