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.
¿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:
- Si tienes ganas de ponerte al día con Front End (ES6, Typescript, React, Angular, Vuejs…) te recomendamos nuestros Máster Front End: https://lemoncode.net/master-frontend#inicio-banner
- Si te quieres poner al día en Backend (stacks .net y nodejs), te aconsejamos nuestro Bootcamp Backend: https://lemoncode.net/bootcamp-backend#bootcamp-backend/banner
- Y si tienes ganas de meterte con Docker, Kubernetes, CI/CD…, tenemos nuestro Bootcamp Devops: https://lemoncode.net/bootcamp-devops#bootcamp-devops/inicio