Skip to content

Commit

Permalink
add docker-cli to joex for addons
Browse files Browse the repository at this point in the history
closes #6
  • Loading branch information
pschichtel committed Nov 15, 2024
1 parent 3da53e2 commit 7a7888d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions images/Dockerfile.joex
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
FROM docker.io/library/ubuntu:oracular-20241009 AS base

RUN apt update \
&& apt full-upgrade -y
&& apt full-upgrade -y \
&& apt install -y ca-certificates curl \
&& install -m 0755 -d /etc/apt/keyrings \
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc \
&& chmod a+r /etc/apt/keyrings/docker.asc \
&& echo "deb [signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu oracular stable" > /etc/apt/sources.list.d/docker.list \
&& apt update

RUN apt install -y \
$(apt list 2>/dev/null | grep 'tesseract-ocr-' | cut -d'/' -f1) \
Expand All @@ -18,7 +24,8 @@ RUN apt install -y \
fonts-noto \
pngquant \
ocrmypdf \
qpdf
qpdf \
docker-ce-cli

FROM base AS download

Expand Down

0 comments on commit 7a7888d

Please sign in to comment.