Skip to content

Commit 9f87f7e

Browse files
committed
checking out on latest commit on the pykmip repo
The image build was failing because we were trying to install pykmip with python v2 (setup.py install uses python command which points to python v2 by default in alpine image). This change checks out the latest commit and installs pykmip with pip3 as this is the one now supported by pykmip. Issue: CLDSRV-806
1 parent 90cb06b commit 9f87f7e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/pykmip/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ RUN apk add --no-cache \
1717
pip3 install --upgrade typing-extensions>=4.13.2 && \
1818
git clone https://github.com/openkmip/pykmip.git && \
1919
cd pykmip && \
20-
python3 setup.py install && \
20+
git checkout 6cd44b572b0ca55adf01a8a12078b2284602e64c && \
21+
pip3 install . && \
2122
apk del .build-deps && \
22-
rm -rf /pykmip && \
23+
rm -rf /var/cache/apk/* /pykmip && \
2324
mkdir /pykmip
2425

2526
ADD ./bin /usr/local/bin

0 commit comments

Comments
 (0)