forked from AuroraMiddleware/gtk
737342ef23
We don't want to bring undefined dependencies into the image. Additionally, Wayland depends on Meson, and we don't want to use Fedora's version of Meson.
111 lines
2.2 KiB
Docker
111 lines
2.2 KiB
Docker
FROM fedora:37
|
|
|
|
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 \
|
|
clang-tools-extra \
|
|
colord-devel \
|
|
cups-devel \
|
|
dbus-daemon \
|
|
dbus-x11 \
|
|
dejavu-sans-mono-fonts \
|
|
desktop-file-utils \
|
|
diffutils \
|
|
docbook-style-xsl \
|
|
elfutils-libelf-devel \
|
|
expat-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 \
|
|
gnupg2 \
|
|
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 \
|
|
libjpeg-turbo-devel \
|
|
libmount-devel \
|
|
libpng-devel \
|
|
librsvg2 \
|
|
libselinux-devel \
|
|
libtiff-devel \
|
|
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 \
|
|
ninja-build \
|
|
pango-devel \
|
|
pcre-devel \
|
|
pcre-static \
|
|
python3 \
|
|
python3-docutils \
|
|
python3-gobject \
|
|
python3-jinja2 \
|
|
python3-markdown \
|
|
python3-pip \
|
|
python3-pygments \
|
|
python3-typogrify \
|
|
python3-wheel \
|
|
redhat-rpm-config \
|
|
sassc \
|
|
vulkan-devel \
|
|
wayland-devel \
|
|
wayland-protocols-devel \
|
|
weston \
|
|
weston-libs \
|
|
which \
|
|
xorg-x11-server-Xvfb \
|
|
&& dnf clean all
|
|
|
|
# Enable sudo for wheel users
|
|
RUN sed -i -e 's/# %wheel/%wheel/' -e '0,/%wheel/{s/%wheel/# %wheel/}' /etc/sudoers
|
|
|
|
ARG HOST_USER_ID=5555
|
|
ENV HOST_USER_ID ${HOST_USER_ID}
|
|
RUN useradd -u $HOST_USER_ID -G wheel -ms /bin/bash user
|
|
|
|
USER user
|
|
WORKDIR /home/user
|
|
|
|
ENV LANG C.UTF-8
|