Hi !

Ok, here goes nothing. If you ever, and I mean, EVER NEED GIT in a docker container. This may help.

This lines are a sample on

# custom installation for RPI Grove dependencies
RUN apt-get update 
RUN apt-get install -y gcc
RUN apt-get install -y curl
RUN apt-get install -y git

# download and add a public key, and clone a repo and install with pip
RUN curl https://seeed-studio.github.io/pi_repo/public.key | apt-key add - && \
    git clone https://github.com/Seeed-Studio/grove.py && pip install ./grove.py

I know, you can install all and make it all happens in a single line. I’m not a big fan of single lines, so I’ll keep this one.

Happy coding!

Greetings

El Bruno

More posts in my blog ElBruno.com.

More info in https://beacons.ai/elbruno



¿Con ganas de ponerte al día?

En Lemoncode te ofrecemos formación online impartida por profesionales que se baten el cobre en consultoría:

Leave a comment

Discover more from El Bruno

Subscribe now to keep reading and get access to the full archive.

Continue reading