ubuntu 20.04 based build agent how to Follow
Answered
Hi,
I would like to use an ubuntu 20.04 based build agent.
When I pull an image the following way `docker pull jetbrains/teamcity-minimal-agent:EAP` and exec into a container it looks like it is an 18.04 ubuntu.
```
buildagent@a653ba063f93:/$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.5 LTS"
```
How can I use a 20.04 build agent?
Thanks.
Please sign in to leave a comment.
Hi Gabor,
as you can see in our images details here: https://github.com/JetBrains/teamcity-docker-images/blob/master/context/generated/teamcity-minimal-agent.md and following on the dockerfile for the linux latest https://github.com/JetBrains/teamcity-docker-images/blob/master/context/generated/linux/MinimalAgent/Ubuntu/20.04/Dockerfile, we do inherit from ubuntu 20.04 and apply a few customizations on top of it.
The EAP build was built a while earlier so it's possible that the EAP was not based on 20.04. Could you check if the latest one does pull 20.04 for you? Also please keep in mind that EAP agents will only work with an EAP server (they will technically work with older releases but they will roll back their own version which makes it rather useless)
Hi Denis,
the latest one works fine.
Thank you.