-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
50 lines (45 loc) · 1.37 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
FROM docker.io/library/fedora:41@sha256:3ec60eb34fa1a095c0c34dd37cead9fd38afb62612d43892fcf1d3425c32bc1e
RUN dnf update -y && \
dnf install -y \
/usr/bin/git \
/usr/bin/make \
/usr/bin/meson \
/usr/bin/glib-compile-schemas \
/usr/bin/update-desktop-database \
/usr/bin/gjs \
/usr/bin/gtk-builder-tool \
/usr/bin/gtk4-builder-tool \
/usr/bin/xsltproc \
/usr/bin/npm \
/usr/bin/msgfmt \
/usr/bin/xgettext \
/usr/bin/msgmerge \
/usr/bin/msgcmp \
/usr/bin/desktop-file-validate \
/usr/bin/patch \
/usr/bin/diff \
/usr/bin/jq \
/usr/bin/zip \
/usr/bin/unzip \
/usr/bin/xvfb-run \
/usr/bin/tox \
/usr/bin/podman \
/usr/bin/g++ \
/usr/bin/reuse \
mesa-dri-drivers \
python3-gobject \
python3-setproctitle \
ImageMagick-libs \
--nodocs \
--setopt install_weak_deps=False \
&& dnf clean all -y
RUN adduser -d /home/github-actions -m -u 1042 -U -G users,adm github-actions \
&& echo "ALL ALL=NOPASSWD: ALL" >/etc/sudoers.d/nopasswd \
&& chmod u+rw /etc/shadow \
&& rpm --setcaps shadow-utils
VOLUME /var/lib/containers
VOLUME /home/github-actions
# Avoid D-Bus access
ENV GTK_A11Y=none
# Avoid Mesa errors
ENV LIBGL_ALWAYS_SOFTWARE=true