GoCD Docker Agent Installing Python3

17 views
Skip to first unread message

Ryan Smith

unread,
Aug 17, 2020, 7:18:58 AM8/17/20
to go-cd
Hey everyone,

For my build and test process I need Python3, I have tried all the docker images provided by GoCD but none of them come with Python3 by default. I have also attempted to install it but I cannot as it does not recognise the command "sudo". I managed to thankfully install pip using curl to download the get-pip.py script and run that but of course I can't do this with Python3.

Any help would be greatly appreciated as I feel like I'm going around in circles.

Cheers,
Ryan

Aravind SV

unread,
Aug 17, 2020, 9:36:33 AM8/17/20
to Ryan Smith, go-cd

Hello Ryan,

This blog post might be useful: https://www.gocd.org/2019/06/25/GoCD-non-root-containers/

You’ll need to maintain a custom image with extra dependencies, I believe.

Cheers,
Aravind

Reply all
Reply to author
Forward
0 new messages