This repository was archived by the owner on Apr 28, 2020. It is now read-only.
File tree 4 files changed +58
-3
lines changed 4 files changed +58
-3
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,14 @@ set -eu
4
4
BASE_IMAGE=ubuntu-dev
5
5
6
6
LANG_IMAGES=(
7
+ ubuntu-dev-gcc8
7
8
ubuntu-dev-go
9
+ ubuntu-dev-llvm8
10
+ ubuntu-dev-node12
11
+ ubuntu-dev-openjdk12
8
12
ubuntu-dev-python2.7
9
13
ubuntu-dev-python3.7
10
14
ubuntu-dev-ruby2.6
11
- ubuntu-dev-gcc8
12
- ubuntu-dev-node12
13
- ubuntu-dev-openjdk12
14
15
)
15
16
16
17
# Build the base for all images.
Original file line number Diff line number Diff line change
1
+ # Based Upon:
2
+ # https://github.com/d11wtq/llvm-docker
3
+ #
4
+ # Modifications:
5
+ #
6
+ # - Use LLVM 8 instead of LLVM 3.9.
7
+ # - Change the signing key URL.
8
+ # - Merge `apt-get install` steps into the prior `apt-get update` step.
9
+ # - Check for file already existing when creating symlinks.
10
+
11
+ FROM %BASE
12
+
13
+ RUN apt-get update -qq -y && \
14
+ apt-get install -qq -y wget
15
+
16
+ # Ubuntu Cosmic LLVM APT repository: http://apt.llvm.org
17
+ RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
18
+ ADD llvm-8.list /etc/apt/sources.list.d/llvm-8.list
19
+
20
+ RUN apt-get update -qq -y && \
21
+ apt-get install -qq -y \
22
+ make \
23
+ clang-8 \
24
+ clang-8-doc \
25
+ clang-format-8 \
26
+ clang-tools-8 \
27
+ libc++-8-dev \
28
+ libc++abi-8-dev \
29
+ libclang-8-dev \
30
+ libclang-common-8-dev \
31
+ libclang1-8 \
32
+ libfuzzer-8-dev \
33
+ libllvm-8-ocaml-dev \
34
+ libllvm8 \
35
+ libomp-8-dev \
36
+ lld-8 \
37
+ lldb-8 \
38
+ llvm-8 \
39
+ llvm-8-dev \
40
+ llvm-8-doc \
41
+ llvm-8-examples \
42
+ llvm-8-runtime \
43
+ llvm-8-tools \
44
+ python-clang-8
45
+
46
+ RUN for f in $(find /usr/bin -name '*-8'); do \
47
+ newname=`echo $f | sed s/-8//`; \
48
+ [ ! -f $newname ] && ln -s $f $newname || true; \
49
+ done
Original file line number Diff line number Diff line change
1
+ FROM %BASE
2
+
3
+ RUN installext ms-vscode.cpptools
Original file line number Diff line number Diff line change
1
+ deb http://apt.llvm.org/cosmic/ llvm-toolchain-cosmic-8 main
2
+ deb-src http://apt.llvm.org/cosmic/ llvm-toolchain-cosmic-8 main
You can’t perform that action at this time.
0 commit comments