diff --git a/.goreleaser.yml b/.goreleaser.yml index cfcdcf844a..7f40e1a7ca 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -34,7 +34,7 @@ builds: - CC=oa64-clang - CXX=oa64-clang++ ldflags: - -s-w + -s -w -X 'github.com/0xPolygon/polygon-edge/versioning.Version=v{{ .Version }}' -X 'github.com/0xPolygon/polygon-edge/versioning.Commit={{ .Commit }}' -X 'github.com/0xPolygon/polygon-edge/versioning.Branch={{ .Branch }}' diff --git a/Dockerfile.release b/Dockerfile.release index 9100d7eb4a..217268c613 100644 --- a/Dockerfile.release +++ b/Dockerfile.release @@ -9,7 +9,7 @@ COPY blade /usr/local/bin/ EXPOSE 8545 9632 1478 RUN addgroup -S blade-group \ - && adduser -S blade -G blade-group + && adduser -S -u 1001 blade -G blade-group USER blade