diff --git a/.dockerignore b/.dockerignore index ca88e03f58..ff8215ea24 100644 --- a/.dockerignore +++ b/.dockerignore @@ -15,3 +15,5 @@ !deployments/config/ # relayer container !deployments/relayer/ +# summonerd tool, for orchestrating contributions +!tools/summonerd/ diff --git a/deployments/containerfiles/Dockerfile b/deployments/containerfiles/Dockerfile index 0aebb9c274..892f503be2 100644 --- a/deployments/containerfiles/Dockerfile +++ b/deployments/containerfiles/Dockerfile @@ -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. @@ -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/