summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..e1ef30d
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,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"]