2019-11-20 14:15:00 +01:00
|
|
|
FROM fedora:30
|
2018-02-18 15:59:29 +01:00
|
|
|
|
2020-01-17 10:06:36 +01:00
|
|
|
RUN dnf -y update \
|
|
|
|
&& dnf -y install \
|
2018-11-12 13:44:19 +01:00
|
|
|
bindfs \
|
2019-04-29 16:24:46 +02:00
|
|
|
clang \
|
|
|
|
clang-analyzer \
|
2019-04-30 14:24:04 +02:00
|
|
|
dbus-daemon \
|
2019-10-21 17:45:01 +02:00
|
|
|
dbus-devel \
|
2018-02-18 15:59:29 +01:00
|
|
|
desktop-file-utils \
|
|
|
|
elfutils-libelf-devel \
|
2018-04-27 17:04:52 +02:00
|
|
|
findutils \
|
2018-11-12 13:44:19 +01:00
|
|
|
fuse \
|
2018-06-07 17:23:17 +02:00
|
|
|
gamin-devel \
|
2018-02-18 15:59:29 +01:00
|
|
|
gcc \
|
|
|
|
gcc-c++ \
|
|
|
|
gettext \
|
|
|
|
git \
|
|
|
|
glibc-devel \
|
|
|
|
glibc-headers \
|
2018-12-03 01:00:00 +01:00
|
|
|
glibc-langpack-de \
|
|
|
|
glibc-langpack-el \
|
|
|
|
glibc-langpack-el \
|
|
|
|
glibc-langpack-en \
|
|
|
|
glibc-langpack-es \
|
|
|
|
glibc-langpack-es \
|
|
|
|
glibc-langpack-fa \
|
|
|
|
glibc-langpack-fr \
|
|
|
|
glibc-langpack-hr \
|
|
|
|
glibc-langpack-ja \
|
|
|
|
glibc-langpack-lt \
|
|
|
|
glibc-langpack-pl \
|
|
|
|
glibc-langpack-ru \
|
|
|
|
glibc-langpack-tr \
|
2019-12-11 17:47:45 +01:00
|
|
|
"gnome-desktop-testing >= 2018.1" \
|
2018-02-18 15:59:29 +01:00
|
|
|
gtk-doc \
|
|
|
|
itstool \
|
2018-04-27 17:04:52 +02:00
|
|
|
lcov \
|
2018-02-18 15:59:29 +01:00
|
|
|
libattr-devel \
|
|
|
|
libffi-devel \
|
|
|
|
libmount-devel \
|
|
|
|
libselinux-devel \
|
|
|
|
libxslt \
|
2018-06-26 19:18:29 +02:00
|
|
|
ncurses-compat-libs \
|
2018-03-29 10:57:55 +02:00
|
|
|
ninja-build \
|
2018-02-18 15:59:29 +01:00
|
|
|
pcre-devel \
|
2019-12-11 17:47:45 +01:00
|
|
|
"python3-dbusmock >= 0.18.3-2" \
|
2019-12-13 19:54:28 +01:00
|
|
|
python3-pygments \
|
2018-03-29 10:57:55 +02:00
|
|
|
python3-wheel \
|
2019-04-30 14:24:04 +02:00
|
|
|
shared-mime-info \
|
2018-02-18 15:59:29 +01:00
|
|
|
systemtap-sdt-devel \
|
2018-05-20 06:14:56 +02:00
|
|
|
unzip \
|
2019-08-21 23:48:53 +02:00
|
|
|
valgrind \
|
2018-06-07 17:27:54 +02:00
|
|
|
wget \
|
2020-01-13 18:46:01 +01:00
|
|
|
xdg-desktop-portal \
|
2018-08-23 21:53:29 +02:00
|
|
|
xz \
|
2018-06-07 17:27:54 +02:00
|
|
|
zlib-devel \
|
2019-12-11 17:48:24 +01:00
|
|
|
&& dnf -y install \
|
|
|
|
meson \
|
|
|
|
flex \
|
|
|
|
bison \
|
|
|
|
python3-devel \
|
|
|
|
autoconf \
|
|
|
|
automake \
|
|
|
|
gettext-devel \
|
|
|
|
libtool \
|
|
|
|
diffutils \
|
|
|
|
fontconfig-devel \
|
|
|
|
json-glib-devel \
|
|
|
|
geoclue2-devel \
|
|
|
|
pipewire-devel \
|
|
|
|
fuse-devel \
|
|
|
|
make \
|
2018-03-29 10:57:55 +02:00
|
|
|
&& dnf clean all
|
|
|
|
|
2019-12-13 19:54:28 +01:00
|
|
|
RUN pip3 install meson==0.52.1
|
2018-06-22 17:02:02 +02:00
|
|
|
|
2019-11-20 14:54:09 +01:00
|
|
|
# Enable sudo for wheel users
|
|
|
|
RUN sed -i -e 's/# %wheel/%wheel/' -e '0,/%wheel/{s/%wheel/# %wheel/}' /etc/sudoers
|
|
|
|
|
2018-02-18 15:59:29 +01:00
|
|
|
ARG HOST_USER_ID=5555
|
|
|
|
ENV HOST_USER_ID ${HOST_USER_ID}
|
2019-11-20 14:54:09 +01:00
|
|
|
RUN useradd -u $HOST_USER_ID -G wheel -ms /bin/bash user
|
2018-02-18 15:59:29 +01:00
|
|
|
|
|
|
|
USER user
|
|
|
|
WORKDIR /home/user
|
|
|
|
|
2020-01-13 18:31:15 +01:00
|
|
|
COPY cache-subprojects.sh .
|
|
|
|
RUN ./cache-subprojects.sh
|
|
|
|
|
2018-03-29 10:57:55 +02:00
|
|
|
ENV LANG C.UTF-8
|