-
Notifications
You must be signed in to change notification settings - Fork 38
/
build-base
42 lines (40 loc) · 1.02 KB
/
build-base
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
30
31
32
33
34
35
36
37
38
39
40
41
42
FROM quay.io/centos/centos:stream9
# CRB is required for meson
# EPEL is required for lcov, python3-flake8, python3-html2text and codespell
RUN dnf install -y dnf-plugin-config-manager && \
dnf config-manager -y --set-enabled crb && \
dnf install -y epel-release && \
dnf update --refresh --nodocs -y && \
dnf install --nodocs \
bzip2 \
clang \
clang-tools-extra \
codespell \
createrepo_c \
dnf-utils \
g++ \
gcc \
git \
golang-github-cpuguy83-md2man \
gzip \
jq \
lcov \
make \
meson \
python3-html2text \
python3-pip \
python3-devel \
rpm-build \
sed \
selinux-policy-devel \
systemd-devel \
tar \
valgrind \
-y && \
dnf -y clean all
# Install python dependencies
COPY requirements.txt .
RUN python3 -m venv /opt/bluechi-env && \
. /opt/bluechi-env/bin/activate && \
pip install -r requirements.txt && \
deactivate