-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
FROM hexpm/elixir:1.15.4-erlang-26.0.2-debian-bookworm-20230612-slim | ||
|
||
USER root | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
chromium \ | ||
chromium-sandbox \ | ||
# Will install ghostscript 9.53 | ||
ghostscript \ | ||
# for verapdf & ZUV | ||
openjdk-17-jre \ | ||
# for pdftotext & friends | ||
poppler-utils \ | ||
# for identifying images | ||
imagemagick \ | ||
# for 'kill' | ||
procps \ | ||
# temporary for installation below | ||
wget \ | ||
unzip | ||
|
||
RUN mkdir /opt/verapdf | ||
WORKDIR /opt/verapdf | ||
RUN wget http://downloads.verapdf.org/rel/verapdf-installer.zip \ | ||
&& unzip verapdf-installer.zip \ | ||
&& mv verapdf-greenfield* verapdf-greenfield \ | ||
&& chmod +x verapdf-greenfield/verapdf-install | ||
COPY .github/docker/auto-install.xml /opt/verapdf/verapdf-greenfield | ||
RUN ./verapdf-greenfield/verapdf-install auto-install.xml | ||
|
||
WORKDIR /opt/zuv | ||
RUN wget https://github.com/ZUGFeRD/ZUV/releases/download/v0.8.3/ZUV-0.8.3.jar | ||
ENV ZUV_JAR /opt/zuv/ZUV-0.8.3.jar | ||
|
||
RUN apt-get remove -y \ | ||
wget \ | ||
unzip \ | ||
&& apt-get autoremove -y \ | ||
&& rm -rf /var/lib/apt/lists/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters