Open
Description
I've been able to get this running in a few other environments, but am having some problems installing it on a clean version of Raspbian 11. Docker is installed and working. After cloning the repo and moving into the opentopodata directory, I run sudo make build
. That works for a bit, until I get the error. Here's the full output:
docker build --tag opentopodata:`cat VERSION` --file docker/Dockerfile .
[+] Building 276.0s (11/14) docker:default
=> [internal] load build definition from Dockerfile 0.6s
=> => transferring dockerfile: 1.57kB 0.0s
=> [internal] load .dockerignore 0.8s
=> => transferring context: 113B 0.0s
=> [internal] load metadata for docker.io/library/python:3.9.16-slim-bul 1.4s
=> [builder 1/3] FROM docker.io/library/python:3.9.16-slim-bullseye@sha 28.2s
=> => resolve docker.io/library/python:3.9.16-slim-bullseye@sha256:5cde4 0.1s
=> => sha256:5cde4e147c4165ad8dbf8a4df9631863766eeb0b79b 1.86kB / 1.86kB 0.0s
=> => sha256:532d38204a77f64141b806c5901b70bb4c8afaad713 1.37kB / 1.37kB 0.0s
=> => sha256:95ffefcf5046bc50f8e2f44f051330432e884e97ce8 6.83kB / 6.83kB 0.0s
=> => sha256:a27027e97f260d9b7aac9bae941b44639374700d 26.56MB / 26.56MB 18.6s
=> => sha256:9c18fa1eb965a9cd27f27d4f8153653a65b50942439 1.04MB / 1.04MB 0.9s
=> => sha256:c40b00875c85bb3eae5a8f99dfec4f209daecd543 10.44MB / 10.44MB 4.8s
=> => sha256:8f5389f7afcc196284369c8fcdb64cd6e849f7941b4070d 245B / 245B 1.2s
=> => sha256:df127cfcda927e4c0fcb852f882cc5805f8a09aeeb1 3.20MB / 3.20MB 5.4s
=> => extracting sha256:a27027e97f260d9b7aac9bae941b44639374700dc4c32cc2 4.3s
=> => extracting sha256:9c18fa1eb965a9cd27f27d4f8153653a65b50942439f8c14 0.3s
=> => extracting sha256:c40b00875c85bb3eae5a8f99dfec4f209daecd543cf08e24 1.4s
=> => extracting sha256:8f5389f7afcc196284369c8fcdb64cd6e849f7941b4070d9 0.0s
=> => extracting sha256:df127cfcda927e4c0fcb852f882cc5805f8a09aeeb1c87e2 0.8s
=> [internal] load build context 1.7s
=> => transferring context: 32.95MB 1.6s
=> [builder 2/3] RUN set -e && apt-get update && apt-get insta 147.8s
=> [stage-1 2/8] RUN set -e && apt-get update && apt-get insta 167.6s
=> [builder 3/3] RUN pip config set global.disable-pip-version-check tr 84.6s
=> [stage-1 3/8] COPY --from=builder /root/wheels /root/wheels 1.0s
=> [stage-1 4/8] COPY requirements.txt /app/requirements.txt 0.2s
=> ERROR [stage-1 5/8] RUN pip install --no-index --no- 10.9s
------
> [stage-1 5/8] RUN pip install --no-index --no-cache-dir --disable-pip-version-check --find-links=/root/wheels uwsgi regex && pip install --no-cache-dir --disable-pip-version-check -r /app/requirements.txt && rm -rf /root/.cache/pip/* && rm root/wheels/* && rm /app/requirements.txt:
7.712 Looking in links: /root/wheels
7.744 ERROR: Could not find a version that satisfies the requirement uwsgi (from versions: none)
7.746 ERROR: No matching distribution found for uwsgi
------
Dockerfile:25
--------------------
24 | COPY requirements.txt /app/requirements.txt
25 | >>> RUN pip install \
26 | >>> --no-index \
27 | >>> --no-cache-dir \
28 | >>> --disable-pip-version-check \
29 | >>> --find-links=/root/wheels \
30 | >>> uwsgi regex && \
31 | >>> pip install --no-cache-dir --disable-pip-version-check -r /app/requirements.txt && \
32 | >>> rm -rf /root/.cache/pip/* && \
33 | >>> rm root/wheels/* && \
34 | >>> rm /app/requirements.txt
35 |
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install --no-index --no-cache-dir --disable-pip-version-check --find-links=/root/wheels uwsgi regex && pip install --no-cache-dir --disable-pip-version-check -r /app/requirements.txt && rm -rf /root/.cache/pip/* && rm root/wheels/* && rm /app/requirements.txt" did not complete successfully: exit code: 1
make: *** [Makefile:5: build] Error 1
I would love any suggestions.
thanks!
Metadata
Assignees
Labels
No labels