Dockerfile: use bullseye as Debian base

This commit is contained in:
Dawid Wróbel
2022-10-05 17:11:24 +02:00
parent f36059324c
commit f8be027a2a
5 changed files with 11 additions and 11 deletions

View File

@@ -7,7 +7,7 @@
# Python is needed for building libnss.
# Use it as a common base.
FROM python:3.10.1-slim-buster as builder
FROM python:3.10.1-slim-bullseye as builder
WORKDIR /build
@@ -137,7 +137,7 @@ RUN chmod +x out/curl_*
# Create a final, minimal image with the compiled binaries
# only.
FROM debian:buster-slim
FROM debian:bullseye-slim
RUN apt-get update && apt-get install -y ca-certificates
# Copy curl-impersonate from the builder image
COPY --from=builder /build/install /usr/local