Using Jenkins with Python and Git on Docker
This was a problem that I encountered, and I thought that I would try to solve it decisively. Jenkins is great, but when you want to move it to another system, you understand how much luggage you created by installing one service after another on which it relies. Separating this from Docker is a great choice, but the one that Jenkins does is very barefoot.
Dockerfile
My article explaining the docker file and how to use or expand it
I mention how to expand it towards the end, but the explicit solution would be to change the line that I mentioned:
ENV BASE_APKS="sudo openssl openssh-client zip ttf-dejavu maven ruby" \
to
ENV BASE_APKS="sudo openssl openssh-client zip ttf-dejavu maven ruby python" \
And then rebuild with
docker build -t mycompany/jenkins .
Erich source share