Skip to content

Commit

Permalink
Add Debian Bookworm CI image (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
maltoe authored Aug 12, 2023
1 parent 554d5ba commit 5068cbd
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 2 deletions.
40 changes: 40 additions & 0 deletions .github/docker/Dockerfile_debian-bookworm
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/*
2 changes: 1 addition & 1 deletion .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
packages: write
strategy:
matrix:
dockerfile: ['elixir-1-11', 'debian-buster', 'debian-bullseye', 'alpine-3-16-2', 'alpine-3-17-3']
dockerfile: ['elixir-1-11', 'debian-buster', 'debian-bullseye', 'debian-bookworm', 'alpine-3-16-2', 'alpine-3-17-3']

steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
name: ${{ matrix.tag }}
strategy:
matrix:
tag: ['elixir-1-11', 'debian-buster', 'debian-bullseye', 'alpine-3-16-2', 'alpine-3-17-3']
tag: ['elixir-1-11', 'debian-buster', 'debian-bullseye', 'debian-bookworm', 'alpine-3-16-2', 'alpine-3-17-3']
env:
MIX_ENV: test
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ ChromicPDF is tested in the following configurations:
| ------ | ---------- | --------------- | --------------- | ----------- |
| 1.14.5 | 25.3.1 | Alpine 3.17 | 112.0.5615.165 | 10.01.1 |
| 1.14.0 | 25.1 | Alpine 3.16 | 102.0.5005.182 | 9.56.1 |
| 1.15.4 | 26.0.2 | Debian Bookworm | 115.0.5790.170 | 10.00.0 |
| 1.14.0 | 25.1 | Debian Bullseye | 108.0.5359.94 | 9.53.3 |
| 1.14.0 | 25.1 | Debian Buster | 90.0.4430.212-1 | 9.27 |
| 1.11.4 | 22.3.4.26 | Debian Buster | 90.0.4430.212-1 | 9.27 |
Expand Down

0 comments on commit 5068cbd

Please sign in to comment.