From c260ecf7e447bd648c14717b02146160354d6489 Mon Sep 17 00:00:00 2001 From: Diego Becciolini Date: Wed, 13 Dec 2023 20:40:44 +0000 Subject: use locally checked out lib in the docker job see https://github.com/mattn/go-sqlite3/pull/1177 --- _example/simple/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) (limited to '_example/simple') diff --git a/_example/simple/Dockerfile b/_example/simple/Dockerfile index c19f6e6..b8545da 100644 --- a/_example/simple/Dockerfile +++ b/_example/simple/Dockerfile @@ -26,7 +26,9 @@ WORKDIR /workspace COPY . /workspace/ RUN \ + cd _example/simple && \ go mod init github.com/mattn/sample && \ + go mod edit -replace=github.com/mattn/go-sqlite3=../.. && \ go mod tidy && \ go install -ldflags='-s -w -extldflags "-static"' ./simple.go -- cgit v1.2.3