1
0
forked from 0ad/0ad
0ad/build/jenkins/dockerfiles/translations.Dockerfile
Stan a6546cc0a4 Update infrastructure to use the new transifex API.
- Fix Jenkins warnings about leaked credentials.
- Fix one script not loading utf-8 on windows.
- Fix command line arguments not working when inlined on Linux.

This was SVN commit r27621.
2023-04-27 16:55:06 +00:00

21 lines
573 B
Docker

FROM debian:buster
ARG DEBIAN_FRONTEND=noninteractive
ARG DEBCONF_NOWARNINGS="yes"
RUN useradd -ms /bin/bash --uid 1006 builder
RUN apt-get -qq update && apt-get install -qqy --no-install-recommends \
curl \
python3-dev \
python3-pip \
git \
subversion \
&& apt-get clean
ENV SHELL /bin/bash
RUN pip3 install setuptools wheel
RUN pip3 install lxml babel
RUN curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
RUN install tx /usr/bin/tx
USER builder
COPY --chown=builder transifexrc /home/builder/.transifexrc