Skip to content

Commit 3aad444

Browse files
authored
Build: allow users to use Ubuntu 22.04 LTS (#9009)
Ubuntu 22.04 LTS is not yet released, but it's already available to use. We can start allowing people to use this image for their builds.
1 parent 007f542 commit 3aad444

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

readthedocs/settings/base.py

+1
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,7 @@ def TEMPLATES(self):
537537
# Mapping of build.os options to docker image.
538538
'os': {
539539
'ubuntu-20.04': f'{DOCKER_DEFAULT_IMAGE}:ubuntu-20.04',
540+
'ubuntu-22.04': f'{DOCKER_DEFAULT_IMAGE}:ubuntu-22.04',
540541
},
541542
# Mapping of build.tools options to specific versions.
542543
'tools': {

scripts/compile_version_upload_s3.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ set -x # Echo commands
8989

9090
# Define variables
9191
SLEEP=350 # Container timeout
92-
OS="ubuntu-20.04" # Docker image name
92+
OS="${OS:-ubuntu-22.04}" # Docker image name
9393
TOOL=$1
9494
VERSION=$2
9595

0 commit comments

Comments
 (0)