| 1 |
FROM fedora:41 |
| 2 |
|
| 3 |
RUN dnf -y install \ |
| 4 |
flex \ |
| 5 |
bison \ |
| 6 |
gcc \ |
| 7 |
gcc-c++ \ |
| 8 |
git \ |
| 9 |
libmount-devel \ |
| 10 |
ninja-build \ |
| 11 |
pcre-devel \ |
| 12 |
pkgconf \ |
| 13 |
python3 \ |
| 14 |
python3-devel \ |
| 15 |
python3-lxml \ |
| 16 |
python3-packaging \ |
| 17 |
python3-pip \ |
| 18 |
python3-rnc2rng \ |
| 19 |
python3-setuptools \ |
| 20 |
python3-wheel \ |
| 21 |
zlib-devel \ |
| 22 |
&& dnf clean all |
| 23 |
|
| 24 |
ARG HOST_USER_ID=5555 |
| 25 |
ENV HOST_USER_ID ${HOST_USER_ID} |
| 26 |
RUN useradd -u $HOST_USER_ID -ms /bin/bash user |
| 27 |
|
| 28 |
USER user |
| 29 |
WORKDIR /home/user |
| 30 |
|
| 31 |
ENV LANG C.UTF-8 |
| 32 |
ENV PATH="/usr/bin:/home/user/.local/bin" |
| 33 |
|
| 34 |
RUN pip3 install --user meson==1.4.2 |