readthedocs / readthedocs-docker-images

Docker image definitions used by Read the Docs
115 stars 70 forks source link

Ubuntu 22.04 LTS build image #178

Closed humitos closed 2 years ago

humitos commented 2 years ago

Upgrade Ubuntu base image to 22.04 LTS for using them on users' builds.

humitos commented 2 years ago

Weird. I see this is failing on CircleCI, but I don't have this problem when building the image locally.

E: Problem executing scripts APT::Update::Post-Invoke 'rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true'

I think this error is from the Ubuntu image itself, because that command is a hook from APT.

humitos commented 2 years ago

This error is not super important because since we are building locally and pushing, it should be fine. Besides, this image will be "hidden" and in a beta state until it's officially released.

humitos commented 2 years ago

I build this branch and pushed it to Docker Hub https://hub.docker.com/layers/readthedocs/build/ubuntu-22.04-2022.03.15/images/sha256-e181b920b973319dd52428dbc4abaf03cef12c741c3069a73cc2d8861128978e?context=explore