Skip to content

Commit

Permalink
Just use centos:7
Browse files Browse the repository at this point in the history
  • Loading branch information
malfet committed Jul 6, 2023
1 parent 2f968b9 commit 978fad7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion conda/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG CUDA_VERSION=10.2
ARG BASE_TARGET=cuda${CUDA_VERSION}
FROM nvidia/cuda:11.4.3-devel-centos7 as base
FROM centos:7 as base

ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
Expand Down
2 changes: 1 addition & 1 deletion libtorch/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG BASE_TARGET=base
ARG GPU_IMAGE=nvidia/cuda:11.4.3-devel-ubuntu18.04
ARG GPU_IMAGE=ubuntu:18.04
FROM ${GPU_IMAGE} as base

ENV DEBIAN_FRONTEND=noninteractive
Expand Down
4 changes: 2 additions & 2 deletions libtorch/build_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ case ${GPU_ARCH_TYPE} in
cpu)
BASE_TARGET=cpu
DOCKER_TAG=cpu
GPU_IMAGE=nvidia/cuda:11.4.3-devel-ubuntu18.04
GPU_IMAGE=ubuntu:18.04
DOCKER_GPU_BUILD_ARG=""
;;
cuda)
BASE_TARGET=cuda${GPU_ARCH_VERSION}
DOCKER_TAG=cuda${GPU_ARCH_VERSION}
GPU_IMAGE=nvidia/cuda:11.4.3-devel-ubuntu18.04
GPU_IMAGE=ubuntu:18.04
DOCKER_GPU_BUILD_ARG=""
;;
rocm)
Expand Down

0 comments on commit 978fad7

Please sign in to comment.