Created
September 24, 2018 11:02
-
-
Save koba-e964/58e388a7736483c63edccaa23e267a21 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:trusty | |
MAINTAINER koba-e964-experimental | |
ENV UBUNTU_VER trusty | |
ENV LLVM_TOOLCHAIN_VER 6.0 | |
RUN apt-get update && \ | |
apt-get install -y software-properties-common && \ | |
apt-add-repository -y "ppa:ubuntu-toolchain-r/test" && \ | |
apt-get install -y wget && \ | |
wget --no-check-certificate -O - https://apt.llvm.org/llvm-snapshot.gpg.key|apt-key add - | |
RUN echo deb http://apt.llvm.org/$UBUNTU_VER/ llvm-toolchain-$UBUNTU_VER-$LLVM_TOOLCHAIN_VER main >>/etc/apt/sources.list && \ | |
echo deb-src http://apt.llvm.org/$UBUNTU_VER/ llvm-toolchain-$UBUNTU_VER-$LLVM_TOOLCHAIN_VER main >>/etc/apt/sources.list && \ | |
apt-get update | |
RUN apt-get install -y clang-format-$LLVM_TOOLCHAIN_VER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment