thomergil / gopro-map-sync

Tools to synchronize GoPro footage with a moving map
MIT License
42 stars 2 forks source link

buid docker error #3

Open yann-insa opened 4 months ago

yann-insa commented 4 months ago

Hi, I want to try your overlay script seems to be fantastic, but I have some issue when build dokerfile :

` 0.1s 158.6s

[19/22] RUN pipenv install: 0.506 Creating a virtualenv for this project… 0.509 Using /usr/bin/python3 (3.8.10) to create virtualenv… 0.702 created virtual environment CPython3.8.10.final.0-64 in 120ms 0.702 creator CPython3Posix(dest=/root/.local/share/virtualenvs/gopro-map-sync-7dQxwPPo, clear=False, global=False) 0.702 seeder FromAppData(download=False, pip=latest, setuptools=latest, wheel=latest, pkg_resources=latest, via=copy, app_data_dir=/root/.local/share/virtualenv/seed-app-data/v1.0.1.debian.1) 0.702 activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator 0.702 0.737 Virtualenv location: /root/.local/share/virtualenvs/gopro-map-sync-7dQxwPPo 0.737 Pipfile.lock not found, creating… 0.737 Locking [dev-packages] dependencies… 3.922 Locking [packages] dependencies… 155.6 Updated Pipfile.lock (3e3992)! 155.6 Installing dependencies from Pipfile.lock (3e3992)… 156.8 An error occurred while installing numpy==2.0.0; python_version < '3.9'! Will try again. 157.5 Installing initially–failed dependencies… 158.5 ERROR: Could not find a version that satisfies the requirement numpy==2.0.0 (from -r /tmp/pipenv-xnq7j5ri-requirements/pipenv-zjygohe2-requirement.txt (line 1)) (from versions: 1.3.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0.post2, 1.10.1, 1.10.2, 1.10.4, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 1.13.3, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.16.6, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.21.0, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.22.0, 1.22.1, 1.22.2, 1.22.3, 1.22.4, 1.23.0rc1, 1.23.0rc2, 1.23.0rc3, 1.23.0, 1.23.1, 1.23.2, 1.23.3, 1.23.4, 1.23.5, 1.24.0rc1, 1.24.0rc2, 1.24.0, 1.24.1, 1.24.2, 1.24.3, 1.24.4) 158.5 ERROR: No matching distribution found for numpy==2.0.0 (from -r /tmp/pipenv-xnq7j5ri-requirements/pipenv-zjygohe2-requirement.txt (line 1)) 158.5 158.5 Dockerfile:24 22 | WORKDIR /src/gopro-map-sync 23 | COPY Pipfile . 24 | >>> RUN pipenv install 25 | COPY init.py . 26 | COPY gpxlib.py . ERROR: failed to solve: process "/bin/sh -c pipenv install" did not complete successfully: exit code: 1 View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/9k455web45g5kju365daombzs `

Please, can I ask you to push on docker hub a new version (semme to be 3 years old) Thanks in advance

yann-insa commented 4 months ago

dockerfile correlty with :

` FROM adoptopenjdk/openjdk16:latest

RUN apt-get update && apt-get install -y \ vim \ python3.9 \ python3.9-venv \ python3.9-dev \ git \ cmake \ build-essential \ pipenv \ ffmpeg \ curl \ && apt-get clean

RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1

RUN mkdir /src WORKDIR /src `