This repository was archived by the owner on Jan 11, 2023. It is now read-only.
Commit 47d7f82 1 parent 0cb64d7 commit 47d7f82 Copy full SHA for 47d7f82
File tree 1 file changed +8
-9
lines changed
1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,6 @@ ENV GO_VERSION 1.8.3
10
10
RUN wget -q https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz \
11
11
&& tar -C /usr/local -xzf go${GO_VERSION}.linux-amd64.tar.gz && rm go${GO_VERSION}.linux-amd64.tar.gz
12
12
13
- # See: https://github.com/Azure/azure-cli/blob/master/packaged_releases/bundled/README.md#using-the-bundled-installer
14
- ENV AZURE_CLI_BUNDLE_VERSION 0.2.10-1
15
- RUN mkdir /tmp/azurecli \
16
- && curl "https://azurecliprod.blob.core.windows.net/bundled/azure-cli_bundle_${AZURE_CLI_BUNDLE_VERSION}.tar.gz" > /tmp/azurecli/azure-cli_bundle.tar.gz \
17
- && (cd /tmp/azurecli \
18
- && tar -xvzf azure-cli_bundle.tar.gz \
19
- && azure-cli_bundle_*/installer --bin-dir /usr/local/bin) \
20
- && rm -rf /tmp/azurecli
21
-
22
13
RUN curl -fsSL https://get.docker.com/ | sh
23
14
24
15
ENV KUBECTL_VERSION 1.7.5
@@ -45,4 +36,12 @@ RUN echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-releas
45
36
&& apt-get update \
46
37
&& apt-get -y install dotnet-sdk-2.0.0-preview2-006497
47
38
39
+ # See: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest#install-on-debianubuntu-with-apt-get
40
+ RUN apt-get update \
41
+ && apt-get install apt-transport-https \
42
+ && echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ wheezy main" > /etc/apt/sources.list.d/azure-cli.list \
43
+ && apt-key adv --keyserver packages.microsoft.com --recv-keys 52E16F86FEE04B979B07E28DB02C46DF417A0893 \
44
+ && apt-get update \
45
+ && apt-get install azure-cli
46
+
48
47
ADD . /gopath/src/github.com/Azure/acs-engine
You can’t perform that action at this time.
0 commit comments