Skip to content

Commit

Permalink
build: add initcontainer tooling
Browse files Browse the repository at this point in the history
Adding curl and jq to the container image, so an initcontainer for
galileo can query the current chain id to decide whether to wipe view db
state.
  • Loading branch information
conorsch committed Nov 17, 2023
1 parent 9858c71 commit 9c4afee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN cargo build --release

# Runtime container, copying in built artifacts
FROM docker.io/debian:bookworm-slim
RUN apt-get update && apt-get install -y ca-certificates
RUN apt-get update && apt-get install -y ca-certificates curl jq
RUN groupadd --gid 1000 penumbra \
&& useradd -m -d /home/penumbra -g 1000 -u 1000 penumbra
COPY --from=penumbra /bin/pcli /usr/bin/pcli
Expand Down

0 comments on commit 9c4afee

Please sign in to comment.