From 6d024242462c61cdd3cd14dae2abdb58e05c2f7b Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Wed, 26 Feb 2025 18:14:54 -0800 Subject: Upgrade rust version in dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b507607..ffff90a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Based on https://alexbrand.dev/post/how-to-package-rust-applications-into-minimal-docker-containers/ -FROM rust:1.57.0 AS build +FROM rust:1.85.0 AS build MAINTAINER Jesse Morgan @@ -19,7 +19,7 @@ RUN cargo install --path . # Now build the deployment image. FROM debian:stable-slim # RUN apt-get update && apt-get install -y extra-runtime-dependencies && rm -rf /var/lib/apt/lists/* -RUN apt-get update && apt-get install -y libssl1.1 ca-certificates +RUN apt-get update && apt-get install -y libssl3 ca-certificates COPY --from=build /usr/local/cargo/bin/s3-media-endpoint-rs . USER 999 CMD ["./s3-media-endpoint-rs"] -- cgit v1.2.3