Skip to content

Commit

Permalink
Dzejkop/improved-debugging (#715)
Browse files Browse the repository at this point in the history
* Allow the binary to read its own debug symbols

* Include git data in build context to provide version info
  • Loading branch information
Dzejkop authored Apr 24, 2024
1 parent bc912b0 commit 9160930
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
target/
.git
README.md
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ LABEL prometheus.io/port="9998"
LABEL prometheus.io/path="/metrics"

# Copy the sequencer binary
COPY --from=build-env --chown=0:10001 --chmod=010 /src/target/release/signup-sequencer /bin/signup-sequencer
COPY --from=build-env --chown=0:10001 --chmod=454 /src/target/release/signup-sequencer /bin/signup-sequencer

ENTRYPOINT [ "/bin/signup-sequencer" ]

0 comments on commit 9160930

Please sign in to comment.