This repository has been archived by the owner on May 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathDockerfile
84 lines (79 loc) · 1.72 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
FROM thecompiler/archlinux
MAINTAINER Florian Bruhin <me@the-compiler.org>
RUN pacman -Sy --noconfirm archlinux-keyring
RUN pacman -Suy --noconfirm --needed \
git \
base-devel \
# qt5-base makedepends
libfbclient \
mariadb-libs \
sqlite \
unixodbc \
postgresql-libs \
alsa-lib \
gst-plugins-base-libs \
gtk3 \
libpulse \
cups \
freetds \
vulkan-headers \
md4c \
# qt5-multimedia makedepends
gst-plugins-bad \
# qt5-declarative makedepends
python2 \
# qt5-webengine makedepends
python2 \
git \
gperf \
jsoncpp \
ninja \
poppler \
libpipewire02 \
# qt5-webkit makepends
cmake \
ruby \
gperf \
python2 \
# qt5-doc makedepends
python2 \
pciutils \
libxtst \
libxcursor \
libxrandr \
libxss \
libxcomposite \
gperf \
nss \
clang \
# qt5-speech makedepends
flite \
speech-dispatcher \
# pyqt5 makedepends
python-pip \
pyqt-builder \
python2-sip-pyqt5 \
sip \
sip5 \
python-opengl \
python2-opengl \
python2-enum34 \
python2-dbus \
python-dbus \
# to have a running Qt already
qt5 \
qt5-webkit \
python-pyqt5 \
python2-pyqt5 \
python-pyqtwebengine \
python2-pyqtwebengine
RUN sed -i 's/#MAKEFLAGS=.*/MAKEFLAGS="-j$(nproc)"/' /etc/makepkg.conf && \
sed -i 's|#BUILDDIR=.*|BUILDDIR="/tmp/makepkg"|' /etc/makepkg.conf && \
sed -i 's|#PKGDEST=.*|PKGDEST="/out"|' /etc/makepkg.conf && \
sed -i 's|COMPRESSXZ=.*|COMPRESSXZ=(xz -c -z --threads=0 -)|' /etc/makepkg.conf
COPY . /home/user
RUN mkdir /out && \
chown -R user:users /home/user /out
USER user
WORKDIR /home/user
CMD ./docker_entrypoint.sh