I’m trying to build a Debian package on a ubuntu container job on azure pipeline.
Here is my setup:
pool: 'AWSLinux'
container:
image: ubuntu:20.04
But it looks ubuntu:20.04 docker image does not have some required tools installed.(SUDO,SVN,dpkg-architecture)
But I don’t have these missing tools problems when building on Ubuntu vmImage like below:
pool:
vmImage: ubuntu-20.04
So my plan is to pull a Ubuntu Docker image somewhere that equivalent to vmImage: ubuntu,
and push to my private Harbor registry to reference it in a container spec:
container:
image: registry:ubuntu2004
endpoint: private_harbor_connection
The question is where to find this Ubuntu Docker image that equivalent to vmImage: ubuntu?
Is there any better solution for my problem? Thanks.