Enable CGO in goreleaser for management (#657)

Update the debug docker image file

update goreleaser version
Install and reference CGO OS deps
This commit is contained in:
Maycon Santos
2023-01-19 15:03:10 +01:00
committed by GitHub
parent 793e4f1f29
commit 5e3502bb83
3 changed files with 12 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
FROM gcr.io/distroless/base:debug
FROM ubuntu:22.04
RUN apt update && apt install -y ca-certificates && rm -fr /var/cache/apt
ENTRYPOINT [ "/go/bin/netbird-mgmt","management","--log-level","debug"]
CMD ["--log-file", "console"]
COPY netbird-mgmt /go/bin/netbird-mgmt