We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6490189 commit 329cd42Copy full SHA for 329cd42
.github/workflows/docker.yaml
@@ -17,6 +17,5 @@ jobs:
17
18
- name: Run example - simple
19
run: |
20
- cd ./_example/simple
21
- docker build -t simple .
+ docker build -t simple -f ./_example/simple/Dockerfile .
22
docker run simple | grep 99\ こんにちは世界099
_example/simple/Dockerfile
@@ -26,7 +26,9 @@ WORKDIR /workspace
26
COPY . /workspace/
27
28
RUN \
29
+ cd _example/simple && \
30
go mod init github.com/mattn/sample && \
31
+ go mod edit -replace=github.com/mattn/go-sqlite3=../.. && \
32
go mod tidy && \
33
go install -ldflags='-s -w -extldflags "-static"' ./simple.go
34
0 commit comments