mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2026-09-07 17:31:52 +00:00
Dockerfile: use bullseye as Debian base
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
@@ -133,7 +133,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
|
||||
# curl tries to load the CA certificates for libnss.
|
||||
# It loads them from /usr/lib/libnssckbi.so and /usr/lib/libnsspem.so,
|
||||
|
||||
Reference in New Issue
Block a user