Skip to content

Commit

Permalink
Update base to Debian Bookworm
Browse files Browse the repository at this point in the history
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
  • Loading branch information
J0WI committed Nov 10, 2023
1 parent 442e99f commit 0455fbd
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions translations/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM ubuntu:20.04
FROM debian:bookworm-slim

MAINTAINER Morris Jobke <hey@morrisjobke.de>

# 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 \
Expand All @@ -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

Expand Down

0 comments on commit 0455fbd

Please sign in to comment.