Skip to content

Commit 09d2c63

Browse files
committed
fixing pykmip build error
1 parent 51810dd commit 09d2c63

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/pykmip/Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,22 @@ FROM python:3.10-alpine
44
# but the repo has fixes for some crashes that slowed down kmip
55

66
RUN apk add --no-cache \
7-
libressl && \
7+
ca-certificates \
8+
openssl && \
89
apk add --no-cache --virtual .build-deps \
910
python3-dev \
1011
libffi-dev \
11-
libressl-dev \
12+
openssl-dev \
1213
sqlite-dev \
1314
build-base \
1415
curl \
1516
git && \
1617
git clone https://github.com/openkmip/pykmip.git && \
1718
cd pykmip && \
18-
python3 setup.py install && \
19+
pip3 install . && \
20+
cd / && \
1921
apk del .build-deps && \
20-
rm -rf /pykmip && \
22+
rm -rf /var/cache/apk/* /pykmip && \
2123
mkdir /pykmip
2224

2325
ADD ./bin /usr/local/bin

0 commit comments

Comments
 (0)