2022-05-14 12:41:18 +00:00
|
|
|
FROM fedora:36
|
2021-04-09 11:28:08 +00:00
|
|
|
|
|
|
|
RUN dnf -y install \
|
|
|
|
adwaita-icon-theme \
|
|
|
|
atk-devel \
|
|
|
|
at-spi2-atk-devel \
|
|
|
|
avahi-gobject-devel \
|
|
|
|
cairo-devel \
|
|
|
|
cairo-gobject-devel \
|
|
|
|
ccache \
|
|
|
|
clang \
|
|
|
|
clang-analyzer \
|
2021-05-10 12:51:37 +00:00
|
|
|
clang-tools-extra \
|
2021-04-09 11:28:08 +00:00
|
|
|
colord-devel \
|
|
|
|
cups-devel \
|
|
|
|
dbus-daemon \
|
|
|
|
dbus-x11 \
|
|
|
|
dejavu-sans-mono-fonts \
|
|
|
|
desktop-file-utils \
|
|
|
|
diffutils \
|
|
|
|
elfutils-libelf-devel \
|
|
|
|
fribidi-devel \
|
|
|
|
gcc \
|
|
|
|
gcc-c++ \
|
|
|
|
gdk-pixbuf2-devel \
|
|
|
|
gdk-pixbuf2-modules \
|
|
|
|
gettext \
|
|
|
|
git \
|
|
|
|
glib2-devel \
|
|
|
|
glib2-static \
|
|
|
|
glibc-devel \
|
|
|
|
glibc-headers \
|
|
|
|
gnome-desktop-testing \
|
|
|
|
gobject-introspection-devel \
|
|
|
|
graphene-devel \
|
|
|
|
graphviz \
|
|
|
|
gstreamer1-devel \
|
|
|
|
gstreamer1-plugins-good \
|
|
|
|
gstreamer1-plugins-bad-free-devel \
|
|
|
|
gstreamer1-plugins-base-devel \
|
|
|
|
hicolor-icon-theme \
|
|
|
|
iso-codes \
|
|
|
|
itstool \
|
|
|
|
json-glib-devel \
|
|
|
|
lcov \
|
|
|
|
libasan \
|
|
|
|
libattr-devel \
|
|
|
|
libcloudproviders-devel \
|
|
|
|
libepoxy-devel \
|
|
|
|
libffi-devel \
|
2021-08-10 12:13:57 +00:00
|
|
|
libjpeg-turbo-devel \
|
2021-04-09 11:28:08 +00:00
|
|
|
libmount-devel \
|
2021-08-10 12:13:57 +00:00
|
|
|
libpng-devel \
|
2021-04-09 11:28:08 +00:00
|
|
|
librsvg2 \
|
|
|
|
libselinux-devel \
|
2021-09-14 12:03:41 +00:00
|
|
|
libtiff-devel \
|
2021-04-09 11:28:08 +00:00
|
|
|
libubsan \
|
|
|
|
libXcomposite-devel \
|
|
|
|
libXcursor-devel \
|
|
|
|
libXcursor-devel \
|
|
|
|
libXdamage-devel \
|
|
|
|
libXfixes-devel \
|
|
|
|
libXi-devel \
|
|
|
|
libXinerama-devel \
|
|
|
|
libxkbcommon-devel \
|
|
|
|
libXrandr-devel \
|
|
|
|
libXrender-devel \
|
|
|
|
libXtst-devel \
|
|
|
|
libxslt \
|
|
|
|
mesa-dri-drivers \
|
|
|
|
mesa-libEGL-devel \
|
|
|
|
mesa-libGLES-devel \
|
|
|
|
meson \
|
|
|
|
ninja-build \
|
|
|
|
pango-devel \
|
|
|
|
pcre-devel \
|
|
|
|
pcre-static \
|
|
|
|
python3 \
|
2021-09-24 17:04:09 +00:00
|
|
|
python3-docutils \
|
2021-05-05 20:31:03 +00:00
|
|
|
python3-gobject \
|
2021-04-09 11:28:08 +00:00
|
|
|
python3-jinja2 \
|
|
|
|
python3-markdown \
|
|
|
|
python3-pip \
|
|
|
|
python3-pygments \
|
|
|
|
python3-toml \
|
|
|
|
python3-typogrify \
|
|
|
|
python3-wheel \
|
|
|
|
redhat-rpm-config \
|
|
|
|
sassc \
|
|
|
|
vulkan-devel \
|
|
|
|
wayland-devel \
|
|
|
|
wayland-protocols-devel \
|
|
|
|
weston \
|
|
|
|
weston-libs \
|
|
|
|
which \
|
|
|
|
xorg-x11-server-Xvfb \
|
2021-03-22 10:51:37 +00:00
|
|
|
&& dnf install -y 'dnf-command(builddep)' \
|
|
|
|
&& dnf builddep -y wayland \
|
2021-04-09 11:28:08 +00:00
|
|
|
&& dnf clean all
|
2019-04-13 13:11:30 +00:00
|
|
|
|
2020-08-02 02:11:07 +00:00
|
|
|
# Enable sudo for wheel users
|
|
|
|
RUN sed -i -e 's/# %wheel/%wheel/' -e '0,/%wheel/{s/%wheel/# %wheel/}' /etc/sudoers
|
|
|
|
|
2018-02-13 16:21:18 +00:00
|
|
|
ARG HOST_USER_ID=5555
|
|
|
|
ENV HOST_USER_ID ${HOST_USER_ID}
|
2020-08-02 02:11:07 +00:00
|
|
|
RUN useradd -u $HOST_USER_ID -G wheel -ms /bin/bash user
|
2018-02-13 16:21:18 +00:00
|
|
|
|
|
|
|
USER user
|
|
|
|
WORKDIR /home/user
|
|
|
|
|
2018-03-20 16:31:38 +00:00
|
|
|
ENV LANG C.UTF-8
|