Skip to content

Commit 7fa317f

Browse files
committed
fix: correct dockerfile and goreleaser
1 parent 79e779b commit 7fa317f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.goreleaser.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ before:
55
builds:
66
- id: void
77
binary: void
8+
env:
9+
- CGO_ENABLED=0
810
ldflags:
911
- -s -w
1012
- -X main.version={{.Version}}

deployment/docker/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
FROM alpine:latest
22

33
RUN mkdir /etc/void
4+
RUN apk --update add --no-cache ca-certificates
45

56
COPY void /bin/void
6-
RUN chmod +x /bin/void
7+
COPY config.yaml /etc/void/config.yaml
78

8-
COPY deployment/config/config.yaml /etc/void/config.yaml
9-
10-
ENTRYPOINT [ "/bin/void" ]
9+
CMD /bin/void

0 commit comments

Comments
 (0)