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 +6
-9
lines changed
dotnetcore-2.1/.devcontainer
dotnetcore-2.2/.devcontainer
dotnetcore-3.0/.devcontainer Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ RUN apt-get update \
29
29
&& apt-get -y install --no-install-recommends apt-utils dialog 2>&1 \
30
30
#
31
31
# Verify git, process tools, lsb-release (common in install instructions for CLIs) installed
32
- && apt-get -y install git iproute2 procps lsb-release \
32
+ && apt-get -y install git iproute2 procps apt-transport-https gnupg2 curl lsb-release \
33
33
#
34
34
# Create a non-root user to use if preferred - see https://aka.ms/vscode-remote/containers/non-root-user.
35
35
&& groupadd --gid $USER_GID $USERNAME \
@@ -63,8 +63,7 @@ RUN apt-get update \
63
63
#
64
64
# [Optional] Install the Azure CLI
65
65
&& if [ "$INSTALL_AZURE_CLI" = "true" ]; then \
66
- apt-get install -y apt-transport-https curl gnupg2 lsb-release \
67
- && echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/azure-cli.list \
66
+ echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/azure-cli.list \
68
67
&& curl -sL https://packages.microsoft.com/keys/microsoft.asc | apt-key add - 2>/dev/null \
69
68
&& apt-get update \
70
69
&& apt-get install -y azure-cli; \
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ RUN apt-get update \
30
30
&& apt-get -y install --no-install-recommends apt-utils dialog 2>&1 \
31
31
#
32
32
# Verify git, process tools, lsb-release (common in install instructions for CLIs) installed
33
- && apt-get -y install git iproute2 procps lsb-release \
33
+ && apt-get -y install git iproute2 procps apt-transport-https gnupg2 curl lsb-release \
34
34
#
35
35
# Create a non-root user to use if preferred - see https://aka.ms/vscode-remote/containers/non-root-user.
36
36
&& groupadd --gid $USER_GID $USERNAME \
@@ -64,8 +64,7 @@ RUN apt-get update \
64
64
#
65
65
# [Optional] Install the Azure CLI
66
66
&& if [ "$INSTALL_AZURE_CLI" = "true" ]; then \
67
- apt-get install -y apt-transport-https curl gnupg2 lsb-release \
68
- && echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/azure-cli.list \
67
+ echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/azure-cli.list \
69
68
&& curl -sL https://packages.microsoft.com/keys/microsoft.asc | apt-key add - 2>/dev/null \
70
69
&& apt-get update \
71
70
&& apt-get install -y azure-cli; \
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ RUN apt-get update \
30
30
&& apt-get -y install --no-install-recommends apt-utils dialog 2>&1 \
31
31
#
32
32
# Verify git, process tools, lsb-release (common in install instructions for CLIs) installed
33
- && apt-get -y install git iproute2 procps lsb-release \
33
+ && apt-get -y install git iproute2 procps apt-transport-https gnupg2 curl lsb-release \
34
34
#
35
35
# Create a non-root user to use if preferred - see https://aka.ms/vscode-remote/containers/non-root-user.
36
36
&& groupadd --gid $USER_GID $USERNAME \
@@ -64,8 +64,7 @@ RUN apt-get update \
64
64
#
65
65
# [Optional] Install the Azure CLI
66
66
&& if [ "$INSTALL_AZURE_CLI" = "true" ]; then \
67
- apt-get install -y apt-transport-https curl gnupg2 lsb-release \
68
- && echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/azure-cli.list \
67
+ echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/azure-cli.list \
69
68
&& curl -sL https://packages.microsoft.com/keys/microsoft.asc | apt-key add - 2>/dev/null \
70
69
&& apt-get update \
71
70
&& apt-get install -y azure-cli; \
You can’t perform that action at this time.
0 commit comments