Skip to content

Commit

Permalink
Merge pull request #92 from 0xPolygon/fix-goreleaser
Browse files Browse the repository at this point in the history
Fix binary names and remove cd
  • Loading branch information
vcastellm authored Feb 28, 2024
2 parents 6c71e84 + 391e538 commit eb8be0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .goreleaser-cdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ before:
hooks:
- go mod download
- go install github.com/gobuffalo/packr/v2/[email protected]
- cd db
- packr2

builds:
- main: ./cmd/
binary: dist/zkevm-node
binary: zkevm-node
goos:
- linux
- darwin
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.release
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM alpine:3.18

COPY dist/zkevm-node /app/zkevm-node
COPY zkevm-node /app/zkevm-node

EXPOSE 8123

RUN addgroup -S zkevm-group \
&& adduser -S zkevm-user -G zkevm-group

RUN chown -R /app zkevm-user:zkevm-group
RUN chown -R zkevm-user:zkevm-group /app

USER zkevm-user

CMD ["/bin/sh", "-c", "/app/zkevm-node"]
CMD ["/app/zkevm-node"]

0 comments on commit eb8be0c

Please sign in to comment.