From ab105145973f9e76e6ec7a8522155d36c470c7f8 Mon Sep 17 00:00:00 2001 From: Tom Ward Date: Mon, 13 Jun 2022 08:48:46 -0700 Subject: [PATCH] Replace period with hyphens in place, instead of declaring environment variable. PiperOrigin-RevId: 454618760 Change-Id: Ia6501f62ff3769a591497ac3413dc7526b31d1cc --- docker/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index cb5b8b27f..cb863a0cc 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -21,11 +21,10 @@ ARG CUDA # Use bash to support string substitution. SHELL ["/bin/bash", "-c"] -RUN apt-get update && CUDA_HYPHENS=${CUDA//./-} DEBIAN_FRONTEND=noninteractive \ - apt-get install -y \ +RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ build-essential \ cmake \ - cuda-command-line-tools-$(cut -f1,2 -d- <<< ${CUDA_HYPHENS}) \ + cuda-command-line-tools-$(cut -f1,2 -d- <<< ${CUDA//./-}) \ git \ hmmer \ kalign \