Skip to content

Commit

Permalink
fix: reenable cuda builds for 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
russkel committed Aug 7, 2024
1 parent 6353b0a commit fe9cddd
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions scripts/docker-build.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

UBUNTU_VERSION = "24.04"
UBUNTU_CODENAME = "noble"
CUDA_VERSION = "11.7.1-devel-ubuntu22.04"
CUDA_VERSION = f"12.5.1-devel-ubuntu{UBUNTU_VERSION}"

ENV = Dict[str, str]

Expand Down Expand Up @@ -47,16 +47,16 @@ def build_image(base_image: str, ros_distro: str, arch: str, tags: List[str], pu


# Build images
# build_image(
# base_image=f"nvidia/cuda:{CUDA_VERSION}",
# ros_distro=args.ros_distro,
# arch=args.arch,
# tags=[
# f"ghcr.io/greenroom-robotics/ros_builder:{args.ros_distro}-{args.version}-cuda-{args.arch}",
# f"ghcr.io/greenroom-robotics/ros_builder:{args.ros_distro}-latest-cuda-{args.arch}"
# ],
# push=args.push,
# )
build_image(
base_image=f"nvidia/cuda:{CUDA_VERSION}",
ros_distro=args.ros_distro,
arch=args.arch,
tags=[
f"ghcr.io/greenroom-robotics/ros_builder:{args.ros_distro}-{args.version}-cuda-{args.arch}",
f"ghcr.io/greenroom-robotics/ros_builder:{args.ros_distro}-latest-cuda-{args.arch}"
],
push=args.push,
)
build_image(
base_image=f"ubuntu:{UBUNTU_CODENAME}",
ros_distro=args.ros_distro,
Expand Down

0 comments on commit fe9cddd

Please sign in to comment.