mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2026-09-08 01:41:52 +00:00
Dockerfile: use bullseye as Debian base
This commit is contained in:
@@ -67,8 +67,8 @@ jobs:
|
||||
with:
|
||||
images: lwthiker/curl-impersonate
|
||||
tags: |
|
||||
type=semver,pattern={{version}},suffix=-chrome-slim-buster
|
||||
type=semver,pattern={{major}}.{{minor}},suffix=-chrome-slim-buster
|
||||
type=semver,pattern={{version}},suffix=-chrome-slim-bullseye
|
||||
type=semver,pattern={{major}}.{{minor}},suffix=-chrome-slim-bullseye
|
||||
|
||||
- name: Build and push the Chrome version of curl-impersonate
|
||||
uses: docker/build-push-action@v2
|
||||
@@ -85,8 +85,8 @@ jobs:
|
||||
with:
|
||||
images: lwthiker/curl-impersonate
|
||||
tags: |
|
||||
type=semver,pattern={{version}},suffix=-ff-slim-buster
|
||||
type=semver,pattern={{major}}.{{minor}},suffix=-ff-slim-buster
|
||||
type=semver,pattern={{version}},suffix=-ff-slim-bullseye
|
||||
type=semver,pattern={{major}}.{{minor}},suffix=-ff-slim-bullseye
|
||||
|
||||
- name: Build and push the Firefox version of curl-impersonate
|
||||
uses: docker/build-push-action@v2
|
||||
|
||||
+2
-2
@@ -8,7 +8,7 @@
|
||||
{{#debian}}
|
||||
# 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
|
||||
{{/debian}}
|
||||
{{#alpine}}
|
||||
FROM alpine:3.15.0 as builder
|
||||
@@ -238,7 +238,7 @@ RUN apk add --no-cache nss
|
||||
{{/firefox}}
|
||||
{{/alpine}}
|
||||
{{#debian}}
|
||||
FROM debian:buster-slim
|
||||
FROM debian:bullseye-slim
|
||||
RUN apt-get update && apt-get install -y ca-certificates
|
||||
{{#firefox}}
|
||||
# curl tries to load the CA certificates for libnss.
|
||||
|
||||
+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
|
||||
|
||||
@@ -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
|
||||
|
||||
+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,
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ ARG CHROME_IMAGE=curl-impersonate-chrome
|
||||
FROM ${FIREFOX_IMAGE} as ff
|
||||
FROM ${CHROME_IMAGE} as chrome
|
||||
|
||||
FROM python:3.10.1-slim-buster
|
||||
FROM python:3.10.1-slim-bullseye
|
||||
|
||||
WORKDIR /tests
|
||||
|
||||
|
||||
Reference in New Issue
Block a user