Commit ab105145 authored by Tom Ward's avatar Tom Ward Committed by Copybara-Service
Browse files

Replace period with hyphens in place, instead of declaring environment variable.

PiperOrigin-RevId: 454618760
Change-Id: Ia6501f62ff3769a591497ac3413dc7526b31d1cc
parent 623cc115
...@@ -21,11 +21,10 @@ ARG CUDA ...@@ -21,11 +21,10 @@ ARG CUDA
# Use bash to support string substitution. # Use bash to support string substitution.
SHELL ["/bin/bash", "-c"] SHELL ["/bin/bash", "-c"]
RUN apt-get update && CUDA_HYPHENS=${CUDA//./-} DEBIAN_FRONTEND=noninteractive \ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
apt-get install -y \
build-essential \ build-essential \
cmake \ cmake \
cuda-command-line-tools-$(cut -f1,2 -d- <<< ${CUDA_HYPHENS}) \ cuda-command-line-tools-$(cut -f1,2 -d- <<< ${CUDA//./-}) \
git \ git \
hmmer \ hmmer \
kalign \ kalign \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment