ci: docker_tag=ext - Migrate to Debian base with minimal packages
All checks were successful
build-and-push-ext / build_push (push) Successful in 33s

This commit is contained in:
4NK Dev 2025-09-21 18:24:40 +00:00
parent 78efe3a208
commit d15c995b31

View File

@ -6,10 +6,10 @@ COPY Cargo.toml Cargo.lock ./
COPY src ./src
RUN cargo build --release
FROM debian:stable-slim
RUN useradd -m -u 10001 appuser && \
FROM debian:bookworm-slim
RUN useradd -m -u 1000 appuser && \
apt-get update && apt-get upgrade -y && \
apt-get install -y ca-certificates curl jq && \
apt-get install -y --fix-missing ca-certificates curl jq git && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
WORKDIR /app
COPY --from=builder /app/target/release/sdk_storage /usr/local/bin/sdk_storage