Skip to content

Commit

Permalink
Add image for alpine 3.20.2 with chrome 128
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasknoepfle committed Sep 26, 2024
1 parent a411cc0 commit 8ab58e5
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 3 deletions.
40 changes: 40 additions & 0 deletions .github/docker/Dockerfile_alpine-3-20-2
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
FROM hexpm/elixir:1.17.2-erlang-26.2.5.2-alpine-3.20.2

USER root

RUN apk update \
&& apk add --no-cache \
# Will install chromium 128.0.6613.119 & ghostscript 10.03.1
chromium \
ghostscript \
# for verapdf & ZUV
openjdk11-jre \
# for pdftotext & friends
poppler-utils \
# for identifying images
imagemagick \
# for 'kill'
procps \
# temporary for installation below
wget \
unzip \
# GNU tar needed by actions/cache
tar

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 apk del \
wget \
unzip \
&& rm -rf /var/lib/apt/lists/*
3 changes: 1 addition & 2 deletions .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ name: Create and publish a Docker image to Github Packages

on:
push:
branches: ['main']
paths:
- ".github/workflows/publish-image.yml"
- ".github/docker/*"
Expand All @@ -31,7 +30,7 @@ jobs:
packages: write
strategy:
matrix:
dockerfile: ['elixir-1-11', 'debian-buster', 'alpine-3-17-3', 'alpine-3-18-4']
dockerfile: ['alpine-3-20-2']

steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# locked to the versions we use in the lint CI job
elixir 1.14.5
erlang 25.3.1
erlang 26.1.2

0 comments on commit 8ab58e5

Please sign in to comment.