Skip to content

Commit

Permalink
Use eclipse temurin as base image
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoTurri committed Feb 1, 2023
1 parent df41032 commit d8422d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:8-slim
FROM eclipse-temurin:8u362-b09-jre-jammy@sha256:3b83f3fc0d016d7536dfd5e8a98ece451061b7dbb6d5db3ddea2db30b6153b28

# Download and install wkhtmltopdf
RUN apt-get update \
Expand All @@ -8,12 +8,12 @@ RUN apt-get update \
xfonts-75dpi \
fontconfig \
libxext6 \
libjpeg62-turbo\
libx11-6 \
libxrender1 \
libjpeg-turbo8 \
&& apt-get clean

RUN curl "https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.bullseye_amd64.deb" -L -o "wkhtmltopdf.deb" \
RUN curl "https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.jammy_amd64.deb" -L -o "wkhtmltopdf.deb" \
&& dpkg -i ./wkhtmltopdf.deb \
&& apt-get install -f \
&& rm -rf wkhtmlto*

0 comments on commit d8422d8

Please sign in to comment.