-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
26 lines (21 loc) · 864 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM fedora:39
ENV QT_SELECT=6
ENV PYTHONUNBUFFERED=1
# Otherwise we won't be able to write to GITHUB_WORKSPACE, see
# https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners#docker-container-filesystem
USER root
WORKDIR /root
ENV HOME /root
# Install Transifex and other tools
RUN dnf update -y && \
dnf install -y curl itstool git python3-GitPython python3-polib qt6-linguist && \
dnf clean all && \
curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash && \
mv tx /usr/bin
RUN mkdir -p /usr/share/translation-action
COPY as-metainfo.its /usr/share/translation-action/as-metainfo.its
COPY entrypoint /entrypoint
COPY regenerate-sources /usr/bin/regenerate-sources
COPY desktop-to-pot /usr/bin/desktop-to-pot
COPY desktop-merge /usr/bin/desktop-merge
ENTRYPOINT ["/entrypoint"]