Skip to content

Commit

Permalink
Replace period with hyphens in place, instead of declaring environmen…
Browse files Browse the repository at this point in the history
…t variable.

PiperOrigin-RevId: 454618760
Change-Id: Ia6501f62ff3769a591497ac3413dc7526b31d1cc
  • Loading branch information
tomwardio authored and copybara-github committed Jun 13, 2022
1 parent 623cc11 commit ab10514
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit ab10514

Please sign in to comment.