From 20689a5158ba59a66b4be638bafdedc19a6aad37 Mon Sep 17 00:00:00 2001 From: Mike Date: Tue, 21 Nov 2023 19:32:20 +0300 Subject: [PATCH 1/2] test debian 9 --- .docker/Dockerfile-debian_9 | 4 ++++ .docker/Dockerfile-debian_9_arm | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.docker/Dockerfile-debian_9 b/.docker/Dockerfile-debian_9 index cc66dfaf..debbefc3 100644 --- a/.docker/Dockerfile-debian_9 +++ b/.docker/Dockerfile-debian_9 @@ -2,6 +2,10 @@ FROM debian:9 ENV DEBIAN_FRONTEND noninteractive +RUN sed -i 's|deb.debian.org/debian|archive.debian.org/debian|g' /etc/apt/sources.list && \ + sed -i 's|security.debian.org/debian-security|archive.debian.org/debian-security|g' /etc/apt/sources.list && \ + apt-get update -o Acquire::Check-Valid-Until=false + RUN apt-get update RUN apt-get install -y ruby libjpeg62-turbo libpng16-16 libxrender1 libfontconfig1 libxext6 diff --git a/.docker/Dockerfile-debian_9_arm b/.docker/Dockerfile-debian_9_arm index 172552d2..f3da5d88 100644 --- a/.docker/Dockerfile-debian_9_arm +++ b/.docker/Dockerfile-debian_9_arm @@ -2,6 +2,10 @@ FROM --platform=arm64 debian:9 ENV DEBIAN_FRONTEND noninteractive +RUN sed -i 's|deb.debian.org/debian|archive.debian.org/debian|g' /etc/apt/sources.list && \ + sed -i 's|security.debian.org/debian-security|archive.debian.org/debian-security|g' /etc/apt/sources.list && \ + apt-get update -o Acquire::Check-Valid-Until=false + RUN apt-get update RUN apt-get install -y ruby libjpeg62-turbo libpng16-16 libxrender1 libfontconfig1 libxext6 From db05e04110916d5e6d4c98724bfc1ba52f570956 Mon Sep 17 00:00:00 2001 From: Mike Date: Tue, 21 Nov 2023 19:46:20 +0300 Subject: [PATCH 2/2] yet another try --- .docker/Dockerfile-debian_9 | 9 +++++---- .docker/Dockerfile-debian_9_arm | 11 ++++++----- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.docker/Dockerfile-debian_9 b/.docker/Dockerfile-debian_9 index debbefc3..b7acc99b 100644 --- a/.docker/Dockerfile-debian_9 +++ b/.docker/Dockerfile-debian_9 @@ -2,11 +2,12 @@ FROM debian:9 ENV DEBIAN_FRONTEND noninteractive -RUN sed -i 's|deb.debian.org/debian|archive.debian.org/debian|g' /etc/apt/sources.list && \ - sed -i 's|security.debian.org/debian-security|archive.debian.org/debian-security|g' /etc/apt/sources.list && \ - apt-get update -o Acquire::Check-Valid-Until=false +RUN echo "deb http://archive.debian.org/debian stretch main contrib non-free" > /etc/apt/sources.list && \ + echo "deb http://archive.debian.org/debian-security stretch/updates main contrib non-free" >> /etc/apt/sources.list + +RUN apt-get -o Acquire::Check-Valid-Until=false update && \ + apt-get -o Acquire::AllowInsecureRepositories=true update -RUN apt-get update RUN apt-get install -y ruby libjpeg62-turbo libpng16-16 libxrender1 libfontconfig1 libxext6 CMD /root/wkhtmltopdf_binary_gem/bin/wkhtmltopdf --version diff --git a/.docker/Dockerfile-debian_9_arm b/.docker/Dockerfile-debian_9_arm index f3da5d88..710ed424 100644 --- a/.docker/Dockerfile-debian_9_arm +++ b/.docker/Dockerfile-debian_9_arm @@ -2,11 +2,12 @@ FROM --platform=arm64 debian:9 ENV DEBIAN_FRONTEND noninteractive -RUN sed -i 's|deb.debian.org/debian|archive.debian.org/debian|g' /etc/apt/sources.list && \ - sed -i 's|security.debian.org/debian-security|archive.debian.org/debian-security|g' /etc/apt/sources.list && \ - apt-get update -o Acquire::Check-Valid-Until=false - -RUN apt-get update +RUN echo "deb http://archive.debian.org/debian stretch main contrib non-free" > /etc/apt/sources.list && \ + echo "deb http://archive.debian.org/debian-security stretch/updates main contrib non-free" >> /etc/apt/sources.list + +RUN apt-get -o Acquire::Check-Valid-Until=false update && \ + apt-get -o Acquire::AllowInsecureRepositories=true update + RUN apt-get install -y ruby libjpeg62-turbo libpng16-16 libxrender1 libfontconfig1 libxext6 CMD /root/wkhtmltopdf_binary_gem/bin/wkhtmltopdf --version