Skip to content

Commit

Permalink
ci: pin debian os version for container
Browse files Browse the repository at this point in the history
Debian 12 Bookworm was just released, so "stable" images are started to
migrate. Let's pin 11 Bullseye until we've tested the build across all
our dependencies.
  • Loading branch information
conorsch committed Jun 21, 2023
1 parent 66b6e2f commit 2ad3918
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Pull from Penumbra container, so we can grab a recent `pcli` without
# needing to compile from source.
FROM ghcr.io/penumbra-zone/penumbra:main AS penumbra
FROM docker.io/rust AS builder
FROM docker.io/rust:1-bullseye AS builder

RUN apt-get update && apt-get install -y \
libssl-dev git-lfs clang
Expand All @@ -12,7 +12,7 @@ COPY . /app/osiris
WORKDIR /app/osiris
RUN cargo build --release

FROM docker.io/debian:stable-slim
FROM docker.io/debian:bullseye-slim
RUN apt-get update && apt-get install -y ca-certificates
RUN groupadd --gid 1000 penumbra \
&& useradd -m -d /home/penumbra -g 1000 -u 1000 penumbra
Expand Down

0 comments on commit 2ad3918

Please sign in to comment.