Skip to content

Commit 75f39f3

Browse files
committed
build(docker): default to Ubuntu 26.04 and drop the 22.04 option
Local Docker builds now use Ubuntu 26.04 by default, and Ubuntu 22.04 is no longer an option. The publish and installer-test workflows pass the OS for each matrix entry, and Jenkins builds its images without these scripts, so only local builds change. Signed-off-by: Vitor Bandeira <vvbandeira@precisioninno.com>
1 parent 114238a commit 75f39f3

4 files changed

Lines changed: 7 additions & 12 deletions

File tree

‎build_openroad.sh‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ YOSYS_ARGS=""
2626
OPENROAD_APP_USER_ARGS=()
2727
OPENROAD_APP_ARGS=()
2828

29-
DOCKER_OS_NAME="ubuntu22.04"
29+
DOCKER_OS_NAME="ubuntu26.04"
3030
PROC=-1
3131

3232
WITH_VERIFIC=0
@@ -101,8 +101,7 @@ Options:
101101
Options valid only for Docker builds:
102102
-c, --copy-platforms Copy platforms to inside docker image.
103103
104-
--os=DOCKER_OS_NAME Use ubuntu22.04 (default), ubuntu24.04 or
105-
ubuntu26.04.
104+
--os=DOCKER_OS_NAME Use ubuntu26.04 (default) or ubuntu24.04.
106105
107106
This script builds the OpenROAD tools: openroad, yosys and yosys plugins.
108107
By default, the tools will be built from the linked submodule hashes.

‎docker/Dockerfile.dev‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# create image with dependencies needed to compile openroad app and run openroad flow scripts
22
# NOTE: don't use this file directly unless you know what you are doing,
33
# instead use etc/DockerHelper.sh
4-
ARG fromImage=ubuntu:22.04
4+
ARG fromImage=ubuntu:26.04
55

66
FROM $fromImage
77

‎docs/user/BuildWithDocker.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ The following instructions build the docker image with Ubuntu 26.04 as the base
6363
``` shell
6464
git clone --recursive https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts
6565
cd OpenROAD-flow-scripts
66-
./build_openroad.sh --os=ubuntu26.04
66+
./build_openroad.sh
6767
```
6868

6969
You can restrict the number of CPUs with the `-t|--threads N` argument:
7070

7171
``` shell
72-
./build_openroad.sh --os=ubuntu26.04 --threads N
72+
./build_openroad.sh --threads N
7373
```
7474

7575
## Verify Installation

‎etc/DockerHelper.sh‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ usage: $0 [CMD] [OPTIONS]
2121
push Push the docker image to Docker Hub
2222
2323
OPTIONS:
24-
-os=OS_NAME Use ubuntu22.04 (default), ubuntu24.04 or
25-
ubuntu26.04.
24+
-os=OS_NAME Use ubuntu26.04 (default) or ubuntu24.04.
2625
-target=TARGET Choose target for the Docker image:
2726
'dev': os + packages to compile app
2827
'builder': os + packages to compile app +
@@ -46,9 +45,6 @@ EOF
4645

4746
_setup() {
4847
case "${os}" in
49-
"ubuntu22.04")
50-
osBaseImage="ubuntu:22.04"
51-
;;
5248
"ubuntu24.04")
5349
osBaseImage="ubuntu:24.04"
5450
;;
@@ -190,7 +186,7 @@ if [[ -z $(command -v "${_rule}") ]]; then
190186
fi
191187

192188
# default values, can be overwritten by command line arguments
193-
os="ubuntu22.04"
189+
os="ubuntu26.04"
194190
target="dev"
195191
numThreads="-1"
196192
tag=""

0 commit comments

Comments
 (0)