From 2ad3918b3b53f77a3472055a5e1b51bf47513306 Mon Sep 17 00:00:00 2001 From: Conor Schaefer Date: Wed, 21 Jun 2023 09:54:54 -0700 Subject: [PATCH] ci: pin debian os version for container 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. --- Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index 65a73bb..d46d740 100644 --- a/Containerfile +++ b/Containerfile @@ -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 @@ -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