Skip to content

Commit df5f7c5

Browse files
authored
Update libtorch/Dockerfile to use Ubuntu-20.04 (#1578)
As 18.04 EOLed
1 parent 9467b4e commit df5f7c5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libtorch/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG BASE_TARGET=base
2-
ARG GPU_IMAGE=ubuntu:18.04
2+
ARG GPU_IMAGE=ubuntu:20.04
33
FROM ${GPU_IMAGE} as base
44

55
ENV DEBIAN_FRONTEND=noninteractive

libtorch/build_docker.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ case ${GPU_ARCH_TYPE} in
1515
cpu)
1616
BASE_TARGET=cpu
1717
DOCKER_TAG=cpu
18-
GPU_IMAGE=ubuntu:18.04
18+
GPU_IMAGE=ubuntu:20.04
1919
DOCKER_GPU_BUILD_ARG=""
2020
;;
2121
cuda)
2222
BASE_TARGET=cuda${GPU_ARCH_VERSION}
2323
DOCKER_TAG=cuda${GPU_ARCH_VERSION}
24-
GPU_IMAGE=ubuntu:18.04
24+
GPU_IMAGE=ubuntu:20.04
2525
DOCKER_GPU_BUILD_ARG=""
2626
;;
2727
rocm)

0 commit comments

Comments
 (0)