Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Add git metadata into gevulot node build (#89)
Browse files Browse the repository at this point in the history
Build git metadata into gevulot node binary for better diagnostics support.
  • Loading branch information
tuommaki authored Feb 19, 2024
1 parent 2fee49d commit 460f026
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ FROM rust:1-bookworm
COPY ./Cargo.* ./
COPY ./crates ./crates

# Add .git to crates/node in order to build version metadata into binary.
COPY ./.git ./crates/node/.git

RUN apt-get update && apt-get upgrade -y && apt-get install -y \
libssl-dev \
protobuf-compiler
Expand Down

0 comments on commit 460f026

Please sign in to comment.