Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(translations)!: Update base to Debian Bookworm #431

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 <[email protected]>

# 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
Loading