File tree Expand file tree Collapse file tree 2 files changed +66
-0
lines changed Expand file tree Collapse file tree 2 files changed +66
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM ubuntu:20.04
2
+
3
+ RUN apt-get update && \
4
+ apt-get install -y software-properties-common curl && \
5
+ apt-get upgrade -y
6
+ RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 15CF4D18AF4F7421
7
+ RUN add-apt-repository -yn 'deb http://archive.ubuntu.com/ubuntu/ trusty main' && \
8
+ add-apt-repository -yn 'deb http://archive.ubuntu.com/ubuntu/ trusty universe' && \
9
+ add-apt-repository -yn 'deb http://archive.ubuntu.com/ubuntu/ xenial main' && \
10
+ add-apt-repository -yn 'deb http://archive.ubuntu.com/ubuntu/ xenial universe' && \
11
+ add-apt-repository -yn 'deb http://archive.ubuntu.com/ubuntu/ bionic main' && \
12
+ add-apt-repository -yn 'deb http://archive.ubuntu.com/ubuntu/ bionic universe' && \
13
+ add-apt-repository -yn 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-6.0 main' && \
14
+ add-apt-repository -yn 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-7 main' && \
15
+ add-apt-repository -yn 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main' && \
16
+ add-apt-repository -yn 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main'
17
+
18
+ RUN apt-get update && apt-get -y install \
19
+ cmake \
20
+ ninja-build \
21
+ git \
22
+ clang-format \
23
+ g++-4.4 \
24
+ g++-4.6 \
25
+ g++-4.7 \
26
+ g++-4.8 \
27
+ g++-4.9 \
28
+ g++-5 \
29
+ g++-7 \
30
+ g++-8 \
31
+ g++-9 \
32
+ g++-10 \
33
+ clang-3.5 \
34
+ clang-3.6 \
35
+ clang-3.7 \
36
+ clang-3.8 \
37
+ clang-3.9 \
38
+ clang-6.0 \
39
+ clang-7 \
40
+ clang-8 \
41
+ clang-9 \
42
+ clang-10 \
43
+ clang-11
Original file line number Diff line number Diff line change
1
+ // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2
+ // https://github.com/microsoft/vscode-dev-containers/tree/v0.183.0/containers/ubuntu
3
+ {
4
+ "name" : " Ubuntu" ,
5
+ "build" : {
6
+ "dockerfile" : " Dockerfile"
7
+ },
8
+
9
+ // Set *default* container specific settings.json values on container create.
10
+ "settings" : {},
11
+
12
+ // Add the IDs of extensions you want installed when the container is created.
13
+ "extensions" : [
14
+ " ms-vscode.cmake-tools" ,
15
+ " ms-vscode.cpptools"
16
+ ],
17
+
18
+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
19
+ // "forwardPorts": [],
20
+
21
+ // Use 'postCreateCommand' to run commands after the container is created.
22
+ // "postCreateCommand": "uname -a",
23
+ }
You can’t perform that action at this time.
0 commit comments