From 7a7888dde8881cf4a95b246ad351e6f285cee4b3 Mon Sep 17 00:00:00 2001 From: Phillip Schichtel Date: Fri, 15 Nov 2024 23:04:19 +0100 Subject: [PATCH] add docker-cli to joex for addons closes #6 --- images/Dockerfile.joex | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/images/Dockerfile.joex b/images/Dockerfile.joex index 4d21c69..5719d05 100644 --- a/images/Dockerfile.joex +++ b/images/Dockerfile.joex @@ -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) \ @@ -18,7 +24,8 @@ RUN apt install -y \ fonts-noto \ pngquant \ ocrmypdf \ - qpdf + qpdf \ + docker-ce-cli FROM base AS download