Skip to content

Commit

Permalink
Add gpg key for llvm repos for Ubuntu 20 in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
williamfgc committed May 13, 2021
1 parent 3b37248 commit ab97baf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config/docker/dependencies/ubuntu/clang-latest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ RUN export DEBIAN_FRONTEND=noninteractive &&\
-y

# add the latest clang development
RUN bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
RUN apt-get install clang-tools-12
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key| apt-key add - &&\
apt-add-repository 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main'
RUN apt-get update -y &&\
apt-get install clang-12 clang-tools-12 -y

# must add a user different from root
# to run MPI executables
Expand Down

0 comments on commit ab97baf

Please sign in to comment.