# Repo2docker (and mybinder.org) upgrading base image to ubuntu 22.04

**URL:** <https://discourse.jupyter.org/t/repo2docker-and-mybinder-org-upgrading-base-image-to-ubuntu-22-04/19865>\
**Category:** Binder\
**Tags:** announcement, repo2docker\
**Created:** [June 13, 2023, 9:18am UTC](https://discourse.jupyter.org/t/repo2docker-and-mybinder-org-upgrading-base-image-to-ubuntu-22-04/19865 "2023-06-13T09:18:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![minrk](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/minrk/32/13_2.png) [@minrk](https://discourse.jupyter.org/u/minrk)\
**Post date:** [June 13, 2023, 9:18am UTC](https://discourse.jupyter.org/t/repo2docker-and-mybinder-org-upgrading-base-image-to-ubuntu-22-04/19865/1 "2023-06-13T09:18:45Z")

</div>

The repo2docker base image, which powers builds on [mybinder.org](http://mybinder.org), is being [upgraded](https://github.com/jupyterhub/repo2docker/pull/1287) from the Ubuntu 18.04-based `buildpack-deps:bionic`, which has reached its end of support, to the 22.04-based `buildpack-deps:jammy` . Very little in the host system is used by repo2docker (upgrading the version required no other changes to repo2docker), so most repos are unlikely to be affected. But if you use `apt.txt`, custom commands that make assumptions about the base system (some package names or versions may have changed), or the system compilers (may be used building dependencies), upgrading the distro version can change things, and your repos may need updating.

As always, let us know here if you have questions or issues, or [report bugs](https://github.com/jupyterhub/repo2docker/issues).

---

<div class="post-metadata">

**Author:** ![manics](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/manics/32/85_2.png) [@manics](https://discourse.jupyter.org/u/manics)\
**Post date:** [August 8, 2023, 11:46am UTC](https://discourse.jupyter.org/t/repo2docker-and-mybinder-org-upgrading-base-image-to-ubuntu-22-04/19865/2 "2023-08-08T11:46:43Z")

</div>

No-one’s raised any blockers, so this will be deployed to production [mybinder.org](http://mybinder.org) very soon!  
[Upgrade base image from to Ubuntu 22.04 from 18.04 by yuvipanda · Pull Request #1287 · jupyterhub/repo2docker · GitHub](https://github.com/jupyterhub/repo2docker/pull/1287#issuecomment-1668829253)

---

<div class="post-metadata">

**Author:** ![VishwaShah](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/vishwashah/32/11355_2.png) [@VishwaShah](https://discourse.jupyter.org/u/VishwaShah)\
**Post date:** [October 19, 2023, 5:14pm UTC](https://discourse.jupyter.org/t/repo2docker-and-mybinder-org-upgrading-base-image-to-ubuntu-22-04/19865/3 "2023-10-19T17:14:42Z")

</div>

Hi! I see that the pull request has been merged. Is this going to be deployed any time soon?

---

<div class="post-metadata">

**Author:** ![manics](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/manics/32/85_2.png) [@manics](https://discourse.jupyter.org/u/manics)\
**Post date:** [October 19, 2023, 8:08pm UTC](https://discourse.jupyter.org/t/repo2docker-and-mybinder-org-upgrading-base-image-to-ubuntu-22-04/19865/4 "2023-10-19T20:08:58Z")

</div>

Keep an eye on [Update quay.io/jupyterhub/repo2docker version to 2023.06.0-24.g8c32db9 by jupyterhub-bot · Pull Request #2742 · jupyterhub/mybinder.org-deploy · GitHub](https://github.com/jupyterhub/mybinder.org-deploy/pull/2742)

---

<div class="post-metadata">

**Author:** ![manics](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/manics/32/85_2.png) [@manics](https://discourse.jupyter.org/u/manics)\
**Post date:** [October 20, 2023, 5:32pm UTC](https://discourse.jupyter.org/t/repo2docker-and-mybinder-org-upgrading-base-image-to-ubuntu-22-04/19865/5 "2023-10-20T17:32:56Z")

</div>

[mybinder.org](http://mybinder.org) has just been updated to use Ubuntu 22.04 as the base image!

Hopefully most people won’t notice anything. The main breaking change is for anyone using `apt.txt` packages, since the available packages and versions are decided by the base operating system. If you’re lucky the package versions in Ubuntu 22.04 will be compatible with those in 18.04 and you won’t notice anything, otherwise see our upgrade guide:

> **[Deal with breaking changes in repo2docker](https://repo2docker.readthedocs.io/en/latest/howto/breaking_changes.html)**
>
> Repo2docker occasionally has to make breaking changes in how repositories are built. Upgrade of base image from Ubuntu 18.04 to 22.04: The base image used by repo2docker was upgraded from Ubuntu 18...
