From e2f9e5073bf149a5ae3b1afc92587c63201d39ba Mon Sep 17 00:00:00 2001 From: Denys Fedoryshchenko Date: Mon, 22 Jan 2024 15:42:34 +0200 Subject: [PATCH] Dockerfile: Convert to new python packaging Similar to https://github.com/kernelci/kernelci-core/pull/2286 we need to deprecate using setup.py and use pip. Signed-off-by: Denys Fedoryshchenko --- docker/api/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/api/Dockerfile b/docker/api/Dockerfile index cf3aac08..9209bd8b 100644 --- a/docker/api/Dockerfile +++ b/docker/api/Dockerfile @@ -32,7 +32,7 @@ RUN git clone --depth=1 $core_url /tmp/kernelci-core WORKDIR /tmp/kernelci-core RUN git fetch origin $core_rev RUN git checkout FETCH_HEAD -RUN python3 setup.py install +RUN python3 -m pip install . RUN cp -R config /etc/kernelci/ WORKDIR /home/kernelci RUN rm -rf /tmp/kernelci-core