fix(docker): Builder runtime image not matching buildtime image

This commit is contained in:
Karolin Varner
2025-08-29 18:23:17 +02:00
parent c3e8297fa0
commit b5ef5842d9

View File

@@ -1,9 +1,10 @@
# syntax=docker/dockerfile:1
ARG BASE_IMAGE=debian:bookworm-slim
ARG CHEF_IMAGE=rust:slim-bookworm
# Stage 1: Base image with cargo-chef installed
FROM rust:latest AS chef
FROM ${CHEF_IMAGE} AS chef
RUN cargo install cargo-chef
# install software required for liboqs-rust
RUN apt-get update && apt-get install -y clang cmake && rm -rf /var/lib/apt/lists/*