aboutsummaryrefslogtreecommitdiff
path: root/_example
diff options
context:
space:
mode:
Diffstat (limited to '_example')
-rw-r--r--_example/simple/Dockerfile2
1 files changed, 2 insertions, 0 deletions
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