Skip to content

Commit

Permalink
Merge pull request #72 from parca-dev/release-docker
Browse files Browse the repository at this point in the history
goreleaser: build dockerfiles
  • Loading branch information
thorfour authored Sep 1, 2021
2 parents 5fb90a9 + a99318b commit e25d23e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,10 @@ changelog:
exclude:
- '^docs:'
- '^test:'
dockers:
- id: parca
goos: linux
goarch: amd64
dockerfile: Dockerfile.release
image_templates:
- docker.pkg.github.com/parca-dev/parca/parca:{{ .Tag }}
8 changes: 8 additions & 0 deletions Dockerfile.release
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# this image is what docker.io/alpine:3.14.1 on August 13 2021
FROM docker.io/alpine@sha256:be9bdc0ef8e96dbc428dc189b31e2e3b05523d96d12ed627c37aa2936653258c
USER nobody

COPY --chown=0:0 parca.yaml /
COPY --chown=0:0 parca /

CMD ["/parca"]

0 comments on commit e25d23e

Please sign in to comment.