11# syntax=docker/dockerfile:1
2- FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build-pdf2htmlex
2+ FROM ubuntu:noble AS build-pdf2htmlex
33
44# Produces a patched pdf2htmlEX using libopenjp 2.7 instead of libjpeg to get JPEG2000 support.
55
@@ -26,6 +26,8 @@ RUN ./buildScripts/reportEnvs
2626RUN ./buildScripts/getBuildToolsApt
2727RUN ./buildScripts/getDevLibrariesApt
2828RUN ./buildScripts/getPoppler
29+ RUN patch ./poppler/glib/poppler-enums.c.template ./patches/poppler-enums.c.template.patch
30+ RUN patch ./poppler/glib/poppler-private.h ./patches/poppler-private.h.patch
2931RUN ./buildScripts/buildPoppler
3032RUN ./buildScripts/getFontforge
3133RUN ./buildScripts/buildFontforge
@@ -35,12 +37,12 @@ RUN git config user.name "CoreFiling"
3537RUN git config user.email "opensource@corefiling.com"
3638RUN ./buildScripts/createDebianPackage
3739
38- FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
40+ FROM mcr.microsoft.com/dotnet/sdk:8.0-noble AS build
3941WORKDIR /source
4042COPY ./ .
4143RUN dotnet publish -c release -o /app
4244
43- FROM mcr.microsoft.com/dotnet/aspnet:7.0
45+ FROM mcr.microsoft.com/dotnet/aspnet:8.0-noble
4446RUN apt update && apt install -y wget
4547RUN wget http://archive.ubuntu.com/ubuntu/pool/main/libj/libjpeg-turbo/libjpeg-turbo8_2.0.3-0ubuntu1_amd64.deb
4648RUN apt install -y ./libjpeg-turbo8_2.0.3-0ubuntu1_amd64.deb
0 commit comments