-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
107 lines (100 loc) · 1.97 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
ARG ALPINE_VERSION=3.16
FROM alpine:${ALPINE_VERSION} as base
COPY ./docker/bin /usr/bin/
RUN \
echo "https://dl-cdn.alpinelinux.org/alpine/v3.16/main" > /etc/apk/repositories; \
echo "https://dl-cdn.alpinelinux.org/alpine/v3.16/community" >> /etc/apk/repositories; \
chmod +x -R /usr/bin/;
FROM base as gtk_deps
WORKDIR /tmp
RUN addpkg \
bash \
cmake \
cairo \
clutter-gst \
clutter-gtk \
curl \
dconf \
dbus \
dbus-x11 \
fluxbox \
g++ \
gcompat \
git \
gjs \
glib \
gnome \
gnunet \
gnunet-gtk \
gobject-introspection \
graphene \
gst-plugins-good-gtk \
gstreamer \
gthumb \
gtk4.0 \
gtk-vnc \
gtksourceview \
libadwaita \
libcamera-gstreamer \
libepoxy \
libgcc \
libmediainfo \
libstdc++ \
libsoup \
libx11 \
linux-headers \
pango \
make \
mc \
mesa \
mesa-demos \
meson \
ninja \
python3 \
py3-opengl \
py3-pip \
qemu-ui-opengl \
rsync \
sudo \
supervisor \
tar \
webkit2gtk-5.0 \
wget \
wxgtk \
udev \
vim \
vlc \
vte3 \
xorg-server \
xf86-input-libinput \
xinit \
xz
RUN \
addpkg \
supervisor \
desktop-file-utils \
gtk4.0-demo \
gnome-apps-extra;
RUN \
git clone https://github.com/paullinuxthemer/Mc-OS-themes.git; \
mkdir -p /usr/share/themes/; \
rsync -av --progress 'Mc-OS-themes/McOS-CTLina-Mint-Dark' /usr/share/themes/; \
rm -rf /tmp/* /tmp/.[!.]* ; \
delpkg rsync
FROM gtk_deps as dev
ENV HOME=/home \
GDK_BACKEND=broadway \
BROADWAY_DISPLAY=:5 \
XDG_RUNTIME_DIR=/home
WORKDIR /gjsx
COPY . /gjsx
COPY docker/supervisord.conf /etc/
# nodejs environment
RUN \
addpkg nodejs npm;\
npm i -g yarn nodemon; \
yarn
CMD ["/usr/bin/supervisord","-c","/etc/supervisord.conf"]
FROM dev as gjsx-broadway
COPY --from=dev /gjsx/gi_modules/_compiled /_compiled
WORKDIR /_compiled