summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorJeroen Wijenbergh <jeroen.wijenbergh@geant.org>2026-02-19 16:27:50 +0100
committerJeroen Wijenbergh <jeroen.wijenbergh@geant.org>2026-02-20 15:00:47 +0100
commite233ea00593446079a39e018a2d3621596259ebe (patch)
tree19264ad103bd0932ac904f084ad433a74a2ac37a /docker
parent67e1244cd2e74721f5f9fea27e12f3f6f64972c7 (diff)
Docker: Remove no longer needed pip building
Diffstat (limited to 'docker')
-rw-r--r--docker/pip/amd64.dockerfile25
-rw-r--r--docker/pip/arm64.dockerfile25
-rwxr-xr-xdocker/pip/build.sh14
3 files changed, 0 insertions, 64 deletions
diff --git a/docker/pip/amd64.dockerfile b/docker/pip/amd64.dockerfile
deleted file mode 100644
index 8faf2d5..0000000
--- a/docker/pip/amd64.dockerfile
+++ /dev/null
@@ -1,25 +0,0 @@
-FROM quay.io/pypa/manylinux_2_28_x86_64
-
-RUN yum install -y golang python3 python3-setuptools python3-wheel wget
-
-WORKDIR /pip
-
-ARG COMMONVERSION
-
-RUN wget -O eduvpn-common.tar.xz https://codeberg.org/eduVPN/eduvpn-common/releases/download/$COMMONVERSION/eduvpn-common-$COMMONVERSION.tar.xz
-RUN tar xf eduvpn-common.tar.xz
-
-WORKDIR /pip/eduvpn-common-$COMMONVERSION
-
-RUN CGO_ENABLED=1 go build -buildvcs=false -o lib/linux/amd64/libeduvpn_common-$COMMONVERSION.so -buildmode=c-shared ./exports
-
-WORKDIR /pip/eduvpn-common-$COMMONVERSION/wrappers/python
-
-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/*.whl
-
-RUN mkdir /wheelhouse
-RUN cp -r wheelhouse/* /wheelhouse \ No newline at end of file
diff --git a/docker/pip/arm64.dockerfile b/docker/pip/arm64.dockerfile
deleted file mode 100644
index b9a5092..0000000
--- a/docker/pip/arm64.dockerfile
+++ /dev/null
@@ -1,25 +0,0 @@
-FROM quay.io/pypa/manylinux_2_28_aarch64
-
-RUN yum install -y golang python3 python3-setuptools python3-wheel wget
-
-WORKDIR /pip
-
-ARG COMMONVERSION
-
-RUN wget -O eduvpn-common.tar.xz https://codeberg.org/eduVPN/eduvpn-common/releases/download/$COMMONVERSION/eduvpn-common-$COMMONVERSION.tar.xz
-RUN tar xf eduvpn-common.tar.xz
-
-WORKDIR /pip/eduvpn-common-$COMMONVERSION
-
-RUN CGO_ENABLED=1 go build -buildvcs=false -o lib/linux/arm64/libeduvpn_common-$COMMONVERSION.so -buildmode=c-shared ./exports
-
-WORKDIR /pip/eduvpn-common-$COMMONVERSION/wrappers/python
-
-RUN python3 -m pip install build
-RUN install ../../lib/linux/arm64/libeduvpn_common-$COMMONVERSION.so -Dt eduvpn_common/lib
-RUN python3 -m build --sdist --wheel .
-
-RUN auditwheel repair dist/*.whl
-
-RUN mkdir /wheelhouse
-RUN cp -r wheelhouse/* /wheelhouse \ No newline at end of file
diff --git a/docker/pip/build.sh b/docker/pip/build.sh
deleted file mode 100755
index d1e0c15..0000000
--- a/docker/pip/build.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-git pull origin --tags
-VERSION=$(git tag | sort -V | tail -1)
-mkdir -p out/"$VERSION"
-
-# amd64
-sudo docker build --build-arg COMMONVERSION="$VERSION" -f amd64.dockerfile -t common-pip-amd64 .
-sudo docker run -v "$PWD"/out/"$VERSION":/io --rm -ti common-pip-amd64 bash -c "cp /wheelhouse/* /io"
-
-# arm64
-sudo docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
-sudo docker build --build-arg COMMONVERSION="$VERSION" -f arm64.dockerfile -t common-pip-arm64 .
-sudo docker run -v "$PWD"/out/"$VERSION":/io --rm -ti common-pip-arm64 bash -c "cp /wheelhouse/* /io"