Skip to content

Commit

Permalink
testing withouts deps
Browse files Browse the repository at this point in the history
  • Loading branch information
yairsimantov20 committed Dec 27, 2023
1 parent c64b1e9 commit c9f099b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@ before:
hooks:
- go mod tidy
builds:
- id: linux-build
env:
- env:
- CGO_ENABLED=1
binary: "{{ .ProjectName }}"
goos:
- linux
goarch:
- amd64
- arm64
- id: darwin-build
binary: "{{ .ProjectName }}"
ldflags:
- -s
env:
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM golang:1.19-alpine

RUN apk add --no-cache wget make g++ openssl-dev autoconf automake libtool curl librdkafka-dev

USER nonroot:nonroot

ENTRYPOINT ["/usr/bin/port-k8s-exporter"]
Expand Down

0 comments on commit c9f099b

Please sign in to comment.