Add Dockerfile and targets for building in Docker

This commit is contained in:
jacob.eva 2024-08-08 15:18:24 +01:00
parent 6a187192a5
commit 483dfd8653
No known key found for this signature in database
GPG key ID: 0B92E083BBCCAA1E
4 changed files with 107 additions and 1 deletions

2
docker/dist_env Normal file
View file

@ -0,0 +1,2 @@
export VERSION=$(wget -q https://pypi.org/pypi/${PACKAGENAME}/json -O - | grep -oP "\"version\":\"\d+\.\d+\.+\d+\"" -o | cut -d \" -f 4)
export DL_URL=$(wget -q https://pypi.org/pypi/${PACKAGENAME}/json -O - | grep -oP "\"url\":\".{1,150}${VERSION}-py\d-none-any.whl\"" | cut -d \" -f 4 | head -n -1)