Skip to content

Commit

Permalink
TEMPORARY: custom dockerfile
Browse files Browse the repository at this point in the history
We need a custom dockerfile to support feature branches in
interchaintest, due to strangelove-specific tooling.
  • Loading branch information
conorsch committed Sep 6, 2023
1 parent 4cc8210 commit 80c4c35
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
20 changes: 20 additions & 0 deletions deployments/containerfiles/Containerfile-strangelove-penumbra
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
3 changes: 3 additions & 0 deletions justfile
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

0 comments on commit 80c4c35

Please sign in to comment.