-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
61 lines (59 loc) · 1.51 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
FROM archlinux:latest
RUN gpgconf --kill all \
&& rm -rf /etc/pacman.d/gnupg \
&& pacman-key --init \
&& pacman-key --populate \
&& pacman -Syu --noconfirm \
&& pacman -S --noconfirm --needed \
base-devel \
boost \
cairo \
cmake \
doctest \
extra-cmake-modules \
git \
glib2-devel \
glibmm \
glm \
glslang \
gobject-introspection \
gtk-layer-shell \
gtkmm3 \
iio-sensor-proxy \
libdbusmenu-gtk3 \
libdisplay-info \
libglvnd \
libinput \
libjpeg \
libliftoff \
libpulse \
librsvg \
libxcb \
libxkbcommon \
meson \
ninja \
nlohmann-json \
opengl-driver \
pango \
pixman \
seatd \
sudo \
systemd-libs \
vulkan-headers \
vulkan-icd-loader \
wayland-protocols \
xcb-util-errors \
xcb-util-renderutil \
xcb-util-wm \
xorg-xwayland \
&& useradd pkgbuilder -g wheel -u 1000 -m \
&& chown -R pkgbuilder:wheel /home/pkgbuilder \
&& mkdir -p /home/pkgbuilder/wayfire/packages \
&& sed -i "s/# \(%wheel.*NOPASSWD.*\)/\1/" /etc/sudoers \
&& rm -rf /var/cache/pacman/pkg/*
ADD . /home/pkgbuilder/wayfire
RUN chown -R pkgbuilder:wheel /home/pkgbuilder
VOLUME /home/pkgbuilder/wayfire/packages
WORKDIR /home/pkgbuilder/wayfire
USER pkgbuilder
ENTRYPOINT ["/home/pkgbuilder/wayfire/updatepkg.sh"]