From 0455fbdba6665cf1e3b2aa94990c08344840fe34 Mon Sep 17 00:00:00 2001 From: J0WI Date: Fri, 7 Oct 2022 14:42:27 +0200 Subject: [PATCH] Update base to Debian Bookworm Signed-off-by: J0WI --- translations/Dockerfile | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/translations/Dockerfile b/translations/Dockerfile index 870f439f..34903fdc 100644 --- a/translations/Dockerfile +++ b/translations/Dockerfile @@ -1,10 +1,10 @@ -FROM ubuntu:20.04 +FROM debian:bookworm-slim MAINTAINER Morris Jobke # Install python RUN apt-get update -q && \ - DEBIAN_FRONTEND=noninteractive apt-get install -q -y --no-install-recommends \ + apt-get install -q -y --no-install-recommends \ gawk \ gettext \ git \ @@ -13,26 +13,25 @@ RUN apt-get update -q && \ curl \ openssh-client \ ca-certificates \ - php7.4-cli \ - php7.4-json \ - php7.4-xml \ + php8.2-cli \ + php8.2-xml \ qttools5-dev-tools \ - && apt-get clean + && rm -rf /var/lib/apt/lists/* RUN update-ca-certificates # Install Transifex client -RUN cd /root -RUN curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash +WORKDIR /root +RUN curl -fsSL https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash ENV PATH=${PATH}:/ RUN mkdir -p /app -ADD gitconfig /root/.gitconfig -ADD known_hosts /root/.ssh/known_hosts -ADD handleTranslations.sh /handleTranslations.sh -ADD translationtool/translationtool.phar /translationtool.phar +COPY gitconfig /root/.gitconfig +COPY known_hosts /root/.ssh/known_hosts +COPY handleTranslations.sh /handleTranslations.sh +COPY translationtool/translationtool.phar /translationtool.phar WORKDIR /app