summaryrefslogtreecommitdiff
path: root/.gitlab-ci/minimal.Dockerfile
blob: dff3f94547ee9d21942d703eb5474eb6b1b552f5 (plain)
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
FROM fedora:36

RUN dnf -y install \
    flex \
    bison \
    gcc \
    gcc-c++ \
    git \
    libmount-devel \
    ninja-build \
    pcre-devel \
    pkgconf \
    python3 \
    python3-devel \
    python3-pip \
    python3-wheel \
    zlib-devel \
 && dnf clean all

RUN pip3 install meson==0.60

ARG HOST_USER_ID=5555
ENV HOST_USER_ID ${HOST_USER_ID}
RUN useradd -u $HOST_USER_ID -ms /bin/bash user

USER user
WORKDIR /home/user

ENV LANG C.UTF-8