dsharpc/pi-speed-monitor

Docker-compose fails

Opened this issue · 3 comments

Running docker-compose fails when building the superset image due to bintray being discontinued. This unfortunately breaks the app :(. Here's the log:

Step 5/19 : RUN wget https://apache.bintray.com/arrow/ubuntu/apache-arrow-archive-keyring-latest-focal.deb
 ---> Running in 02347cfda62e
--2021-08-20 14:00:17--  https://apache.bintray.com/arrow/ubuntu/apache-arrow-archive-keyring-latest-focal.deb
Resolving apache.bintray.com (apache.bintray.com)... 34.213.81.17, 52.39.193.126
Connecting to apache.bintray.com (apache.bintray.com)|34.213.81.17|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2021-08-20 14:00:18 ERROR 403: Forbidden.

The command '/bin/sh -c wget https://apache.bintray.com/arrow/ubuntu/apache-arrow-archive-keyring-latest-focal.deb' returned a non-zero code: 8
ERROR: Service 'superset' failed to build : Build failed

It should be relatively easy to find a replacement location for arrow (mayby here?). I'll try to fix it if I get the time. Otherwise this looked like a solid project!

I stumbled on this project when wanting to run superset on my rpi4. Here is a Dockerfile that works for me, it installs superset with just pip:

FROM python:3.9.7-slim-buster
RUN apt-get update
RUN apt-get -y upgrade
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential gcc
RUN pip install apache-superset==1.3.2
RUN pip install psycopg2-binary
# Then do the superset db upgrade, etc

Might help someone 😄

Not sure if the superset has specified a dependency to pyarrow that didn't exist in the pip package before?

I spent the last 4 hours searching for this error. Completely forgot to check the Issues tab. Dumb!!
@aleda145 If I install superset manually it will not ask to install again when I run the docker?

Hey!

So not really sure what you mean, building the docker image should be a one off! Here is a docker guide if you aren't familiar: https://www.learncloudnative.com/blog/2020-04-29-beginners-guide-to-docker

I don't think I can provide much more context, not running any pis anymore!