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
All checks were successful
build-and-push-ext / build_push (push) Successful in 33s
This commit is contained in:
parent
78efe3a208
commit
d15c995b31
@ -6,10 +6,10 @@ COPY Cargo.toml Cargo.lock ./
|
|||||||
COPY src ./src
|
COPY src ./src
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
||||||
FROM debian:stable-slim
|
FROM debian:bookworm-slim
|
||||||
RUN useradd -m -u 10001 appuser && \
|
RUN useradd -m -u 1000 appuser && \
|
||||||
apt-get update && apt-get upgrade -y && \
|
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/*
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=builder /app/target/release/sdk_storage /usr/local/bin/sdk_storage
|
COPY --from=builder /app/target/release/sdk_storage /usr/local/bin/sdk_storage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user