Skip to content

Commit

Permalink
ci: add summonerd to container image
Browse files Browse the repository at this point in the history
Refs #3138, #3150.
  • Loading branch information
conorsch committed Oct 5, 2023
1 parent 0fecbe7 commit 6edd48d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@
!deployments/config/
# relayer container
!deployments/relayer/
# summonerd tool, for orchestrating contributions
!tools/summonerd/
5 changes: 4 additions & 1 deletion deployments/containerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ WORKDIR /usr/src/penumbra
# Add rust dependency lockfiles first, to cache downloads.
COPY Cargo.lock Cargo.toml .
COPY crates ./crates
COPY tools/ ./tools
# Copy in summonerd contribution orchestrator.
COPY tools ./tools
RUN cargo fetch
# Unfortunately, container layer cache is busted copying in the .git
# dir, which is required for using vergen, so we rebuild the rust
# code from source fresh.
COPY . .
# Build Penumbra binaries
RUN cargo build --release

# Runtime image.
Expand All @@ -42,6 +44,7 @@ COPY --from=build-env \
/usr/src/penumbra/target/release/pcli \
/usr/src/penumbra/target/release/pclientd \
/usr/src/penumbra/target/release/pd \
/usr/src/penumbra/target/release/summonerd \
/usr/src/penumbra/target/release/tct-live-edit \
/usr/bin/

Expand Down

0 comments on commit 6edd48d

Please sign in to comment.