mirror of
https://github.com/rosenpass/rosenpass.git
synced 2025-12-12 07:40:30 -08:00
fix(docker): Builder runtime image not matching buildtime image
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
|
|
||||||
ARG BASE_IMAGE=debian:bookworm-slim
|
ARG BASE_IMAGE=debian:bookworm-slim
|
||||||
|
ARG CHEF_IMAGE=rust:slim-bookworm
|
||||||
|
|
||||||
# Stage 1: Base image with cargo-chef installed
|
# Stage 1: Base image with cargo-chef installed
|
||||||
FROM rust:latest AS chef
|
FROM ${CHEF_IMAGE} AS chef
|
||||||
RUN cargo install cargo-chef
|
RUN cargo install cargo-chef
|
||||||
# install software required for liboqs-rust
|
# install software required for liboqs-rust
|
||||||
RUN apt-get update && apt-get install -y clang cmake && rm -rf /var/lib/apt/lists/*
|
RUN apt-get update && apt-get install -y clang cmake && rm -rf /var/lib/apt/lists/*
|
||||||
|
|||||||
Reference in New Issue
Block a user