-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We need a custom dockerfile to support feature branches in interchaintest, due to strangelove-specific tooling.
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
deployments/containerfiles/Containerfile-strangelove-penumbra
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Cannot use pclientd built from Penumbra feature branch,\ | ||
# due to bullseye/bookworm mismatch. | ||
# FROM ghcr.io/penumbra-zone/penumbra:debug-witness-and-build AS pz | ||
|
||
FROM rust:1-bullseye AS pz | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
build-essential \ | ||
pkg-config \ | ||
libssl-dev \ | ||
clang | ||
COPY . /app | ||
WORKDIR /app | ||
RUN cargo build --release | ||
|
||
# Reference the upstream Strangelove container image, which is required | ||
# for interchaintest, due to helper scripts and uid/gid info. | ||
FROM ghcr.io/strangelove-ventures/heighliner/penumbra:v0.59.0 AS sl | ||
|
||
COPY --from=pz /app/target/release/pclientd /bin/pclientd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
build: | ||
podman build -t harbor.ruin.dev/library/penumbra:debug-witness-and-build -f ./deployments/containerfiles/Containerfile-strangelove-penumbra . | ||
podman push harbor.ruin.dev/library/penumbra:debug-witness-and-build |