Skip to content

Commit

Permalink
Update the gcloud package signing key during the docker build (#7180)
Browse files Browse the repository at this point in the history
Previously we were relying on the gcloud package signing key retrieved
during build of the GATK base image. However, the base image is updated
so infrequently that it's possible that the key it uses has expired. To
address this, we now retrieve an updated key at the start of the Docker
build.
  • Loading branch information
droazen authored and kcibul committed Apr 6, 2021
1 parent e8ca667 commit b407487
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ RUN ls .
ADD . /gatk
WORKDIR /gatk

# Get an updated gcloud signing key, in case the one in the base image has expired
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
RUN add-apt-repository universe && apt update
RUN apt-get --assume-yes install git-lfs
RUN git lfs install
Expand Down

0 comments on commit b407487

Please sign in to comment.