Skip to content

Commit

Permalink
Dockerfile: Convert to new python packaging
Browse files Browse the repository at this point in the history
Similar to kernelci/kernelci-core#2286
we need to deprecate using setup.py and use pip.

Signed-off-by: Denys Fedoryshchenko <[email protected]>
  • Loading branch information
nuclearcat committed Jan 23, 2024
1 parent e85bbb0 commit e2f9e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e2f9e50

Please sign in to comment.