From 5aefaa1a88a0afdda6a8103587a1761e14b72aff Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Wed, 5 Jun 2024 14:28:32 +0200 Subject: Docker pip: Update for new building --- docker/pip/amd64.dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docker/pip/amd64.dockerfile') diff --git a/docker/pip/amd64.dockerfile b/docker/pip/amd64.dockerfile index 27bbb8b..572fdd3 100644 --- a/docker/pip/amd64.dockerfile +++ b/docker/pip/amd64.dockerfile @@ -15,9 +15,11 @@ RUN CGO_ENABLED=1 go build -buildvcs=false -o lib/linux/amd64/libeduvpn_common-$ WORKDIR /pip/eduvpn-common-$COMMONVERSION/wrappers/python -RUN ./setup.py bdist_wheel --exports-lib-path="../../lib" +RUN python3 -m pip install build +RUN install ../../lib/linux/amd64/libeduvpn_common-$COMMONVERSION.so -Dt eduvpn_common/lib +RUN python3 -m build --sdist --wheel . -RUN auditwheel repair dist/* +RUN auditwheel repair dist/*.whl RUN mkdir /wheelhouse RUN cp -r wheelhouse/* /wheelhouse \ No newline at end of file -- cgit v1.2.3