This repository was archived by the owner on Nov 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +33
-6
lines changed
azure-machine-learning-python-3/.devcontainer
azure-terraform/.devcontainer Expand file tree Collapse file tree 3 files changed +33
-6
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " Azure Machine Learning" ,
3
3
"dockerFile" : " Dockerfile" ,
4
4
"extensions" : [
5
- " ms-toolsai.vscode-ai"
5
+ " ms-toolsai.vscode-ai" ,
6
+ " peterjausovec.vscode-docker"
6
7
],
7
8
"runArgs" : [" -v" ," /var/run/docker.sock:/var/run/docker.sock" ]
8
9
}
Original file line number Diff line number Diff line change @@ -8,11 +8,34 @@ FROM debian:9
8
8
9
9
# Install git, required tools
10
10
RUN apt-get update \
11
- && apt-get install -y git curl gnupg unzip procps
11
+ && apt-get install -y \
12
+ git \
13
+ curl \
14
+ procps \
15
+ unzip \
16
+ apt-transport-https \
17
+ ca-certificates \
18
+ gnupg-agent \
19
+ software-properties-common
12
20
13
21
# [Optional] Install Node.js for Azure Cloud Shell support
14
- RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \
15
- && apt-get install -y nodejs
22
+ # Change the "lts/*" in the two lines below to pick a different version
23
+ RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash \
24
+ && /bin/bash -c "source $HOME/.nvm/nvm.sh \
25
+ && nvm install lts/* \
26
+ && nvm alias default lts/*"
27
+
28
+ # Install Docker CE CLI.
29
+ RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - \
30
+ && add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" \
31
+ && apt-get update \
32
+ && apt-get install -y docker-ce-cli
33
+
34
+ # Install the Azure CLI
35
+ RUN echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/azure-cli.list \
36
+ && curl -L https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
37
+ && apt-get update \
38
+ && apt-get install -y azure-cli
16
39
17
40
# Install Terraform and tflint
18
41
RUN mkdir -p /tmp/docker-downloads \
Original file line number Diff line number Diff line change 3
3
"dockerFile" : " Dockerfile" ,
4
4
"extensions" : [
5
5
" mauve.terraform" ,
6
- " ms-azuretools.azureterraform"
7
- ]
6
+ " ms-azuretools.azureterraform" ,
7
+ " ms-vscode.azurecli" ,
8
+ " peterjausovec.vscode-docker"
9
+ ],
10
+ "runArgs" : [" -v" ," /var/run/docker.sock:/var/run/docker.sock" ]
8
11
}
You can’t perform that action at this time.
0 commit comments