Files
pay/android/docker/Dockerfile
T

65 lines
1.6 KiB
Docker
Raw Permalink Normal View History

2023-03-21 19:18:24 +01:00
ARG QtVersion=v6.4.3
2022-09-15 00:24:08 +02:00
FROM archlinux:latest
ARG QtVersion
LABEL maintainer="Tom Zander <tom@flowee.org>"
2022-09-16 17:53:53 +02:00
LABEL qtversion="${QtVersion}"
ENTRYPOINT ["su", "-", "builduser", "-c"]
2022-09-15 00:24:08 +02:00
2022-09-16 17:53:53 +02:00
add scripts /usr/local/bin
2022-09-15 00:24:08 +02:00
# for europe you might want to copy your local mirrorlist
2022-12-07 11:23:56 +01:00
#copy mirrorlist /etc/pacman.d/
2022-11-10 20:15:37 +01:00
RUN useradd builduser -d /home/builds -m -u 1000 -U \
&& pacman -Suy --noconfirm --noprogressbar \
&& pacman -Sy --noconfirm --noprogressbar --needed base-devel \
2022-09-15 00:24:08 +02:00
cmake \
ninja \
git \
python \
libjpeg-turbo \
xcb-util-keysyms \
xcb-util-cursor \
libgl \
fontconfig \
xdg-utils \
shared-mime-info \
xcb-util-wm \
libxrender \
libxi \
sqlite \
mesa \
vulkan-headers \
tslib \
libinput \
libxkbcommon-x11 \
libproxy \
libcups \
double-conversion \
brotli \
libb2 \
md4c \
wget \
2022-09-15 00:24:08 +02:00
jdk11-openjdk \
2022-09-16 17:53:53 +02:00
&& pacman -Sc --noconfirm \
&& rm -rf /var/cache/pacman/pkg/* \
&& /usr/local/bin/createRootPwd
2022-09-15 11:58:32 +02:00
# to enable caching, check the README.md
2022-11-10 20:15:37 +01:00
#add cache /usr/local/cache/
2022-09-16 17:53:53 +02:00
RUN mkdir -p /usr/local/cache \
&& git config --global advice.detachedHead false \
&& /usr/local/bin/aurs.sh \
&& rm -rf ~builduser/* \
&& /usr/local/bin/buildOpenSsl.sh \
&& rm -rf ~builduser/* \
&& /usr/local/bin/buildQt.sh ${QtVersion} \
&& rm -rf ~builduser/* \
&& /usr/local/bin/buildBoost.sh \
&& rm -rf ~builduser/* \
2022-09-16 20:49:15 +02:00
&& /usr/local/bin/buildQrEncode.sh \
&& rm -rf ~builduser/* \
&& /usr/local/bin/buildZXing.sh \
&& rm -rf ~builduser/* \
2022-11-10 20:15:37 +01:00
&& rm -rf /usr/local/cache