summaryrefslogtreecommitdiff
path: root/Containerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Containerfile')
-rw-r--r--Containerfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Containerfile b/Containerfile
index 1494828..708ea88 100644
--- a/Containerfile
+++ b/Containerfile
@@ -2,9 +2,9 @@
# Build stage
#
-FROM rust:1.91-alpine3.23 AS builder
+FROM rust:1.91-slim-bookworm AS builder
-RUN apk add --no-cache musl-dev
+RUN apt-get update && apt-get install -y pkg-config && rm -rf /var/lib/apt/lists/*
WORKDIR /app
@@ -18,9 +18,9 @@ RUN cargo build --release
# Run stage
#
-FROM alpine:latest
+FROM debian:bookworm-slim
-RUN apk add --no-cache libgcc
+RUN apt-get update && apt-get install -y libgcc-s1 && rm -rf /var/lib/apt/lists/*
WORKDIR /app