Skip to content

Commit 5bdfc79

Browse files
authored
Merge pull request #79 from mboersma/add-azure-cli
feat(Dockerfile): add azure-cli to the image
2 parents bc6c28c + df25e6b commit 5bdfc79

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

rootfs/Dockerfile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM quay.io/deis/base:v0.3.6
22

3-
ENV GO_VERSION=1.8.3 \
3+
ENV AZCLI_VERSION=2.0.8 \
4+
GO_VERSION=1.8.3 \
45
GLIDE_VERSION=v0.12.3 \
56
GLIDE_HOME=/root \
67
HELM_VERSION=v2.4.2 \
@@ -15,7 +16,13 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
1516
mercurial \
1617
util-linux \
1718
jq \
19+
libffi-dev \
20+
libssl-dev \
1821
man \
22+
python \
23+
python-dev \
24+
python-pip \
25+
python-setuptools \
1926
unzip \
2027
upx \
2128
zip \
@@ -51,7 +58,9 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
5158
github.com/golang/protobuf/protoc-gen-go \
5259
github.com/golang/dep/cmd/dep \
5360
github.com/constabulary/gb/... \
54-
&& gometalinter --install
61+
&& gometalinter --install \
62+
&& pip install --disable-pip-version-check --no-cache-dir azure-cli==${AZCLI_VERSION} \
63+
&& apt-get purge --auto-remove -y libffi-dev python-dev python-pip
5564

5665
WORKDIR /go
5766

0 commit comments

Comments
 (0)