summaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: e1ef30d528968a08bf0a218d907cc5e0161994ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM fedora:37

WORKDIR /root

# first line for nvme-stas
# second line for libnvme
RUN dnf install -y python3-dasbus python3-pyudev python3-systemd python3-gobject meson \
                   git gcc g++ cmake openssl-devel libuuid-devel json-c-devel swig python-devel meson && dnf clean all

COPY . .
RUN meson .build && ninja -C .build && meson install -C .build

ENTRYPOINT ["python3"]