Skip to content

Commit

Permalink
Merge pull request #1 from mikekosulin/arm
Browse files Browse the repository at this point in the history
fix: Debian 9
  • Loading branch information
willnet authored Nov 22, 2023
2 parents c64d327 + db05e04 commit 0c60d76
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .docker/Dockerfile-debian_9
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ FROM debian:9

ENV DEBIAN_FRONTEND noninteractive

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
7 changes: 6 additions & 1 deletion .docker/Dockerfile-debian_9_arm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ FROM --platform=arm64 debian:9

ENV DEBIAN_FRONTEND noninteractive

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

0 comments on commit 0c60d76

Please sign in to comment.