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 79e779b commit 7fa317fCopy full SHA for 7fa317f
.goreleaser.yaml
@@ -5,6 +5,8 @@ before:
5
builds:
6
- id: void
7
binary: void
8
+ env:
9
+ - CGO_ENABLED=0
10
ldflags:
11
- -s -w
12
- -X main.version={{.Version}}
deployment/docker/Dockerfile
@@ -1,10 +1,9 @@
1
FROM alpine:latest
2
3
RUN mkdir /etc/void
4
+RUN apk --update add --no-cache ca-certificates
COPY void /bin/void
-RUN chmod +x /bin/void
+COPY config.yaml /etc/void/config.yaml
-COPY deployment/config/config.yaml /etc/void/config.yaml
-
-ENTRYPOINT [ "/bin/void" ]
+CMD /bin/void
0 commit comments