Skip to content

Commit

Permalink
fix: correct dockerfile and goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
benjivesterby committed Apr 21, 2023
1 parent 79e779b commit 7fa317f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ before:
builds:
- id: void
binary: void
env:
- CGO_ENABLED=0
ldflags:
- -s -w
- -X main.version={{.Version}}
Expand Down
7 changes: 3 additions & 4 deletions deployment/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
FROM alpine:latest

RUN mkdir /etc/void
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 comments on commit 7fa317f

Please sign in to comment.