From 72a066e5a421e2b81ac07b326f6459735287d3fb Mon Sep 17 00:00:00 2001 From: Jonathan Martineau Date: Thu, 22 Nov 2018 15:43:40 -0500 Subject: [PATCH] Fixed Clang path + formatting --- Dockerfile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index ae7d544..9f5e04a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,16 +5,16 @@ FROM ubuntu:16.04 # Make sure the image is updated, install some prerequisites, # Download the latest version of Clang (official binary) for Ubuntu # Extract the archive and add Clang to the PATH -RUN apt update && apt install -y \ - xz-utils \ - build-essential \ - curl \ - && rm -rf /var/lib/apt/lists/* \ - && curl -SL http://releases.llvm.org/7.0.0/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz \ - | tar -xJC . && \ - mv clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04 clang_7.0.0 && \ - echo 'export PATH=/clang_7.0.0/bin:$PATH' >> ~/.bashrc && \ - echo 'export LD_LIBRARY_PATH=/clang_7.0.0/lib:LD_LIBRARY_PATH' >> ~/.bashrc +RUN apt-get update \ + && apt-get install -y \ + xz-utils \ + build-essential \ + curl \ + && rm -rf /var/lib/apt/lists/* \ + && curl -SL http://releases.llvm.org/7.0.0/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz | tar -xJC . \ + && mv clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04 /clang_7.0.0 \ + && echo 'export PATH=/clang_7.0.0/bin:$PATH' >> ~/.bashrc \ + && echo 'export LD_LIBRARY_PATH=/clang_7.0.0/lib:LD_LIBRARY_PATH' >> ~/.bashrc # Start from a Bash prompt CMD [ "/bin/bash" ]