Skip to content

Commit

Permalink
Docker image no wget (Azure#5840)
Browse files Browse the repository at this point in the history
  • Loading branch information
derekbekoe authored Mar 22, 2018
1 parent 9ed19e4 commit c47f56d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
#---------------------------------------------------------------------------------------------

FROM python:3.6.3-alpine
FROM python:3.6.4-alpine

ARG CLI_VERSION

Expand Down Expand Up @@ -31,11 +31,10 @@ RUN pip install --no-cache-dir --upgrade pip wheel jmespath-terminal
# jq - we include jq as a useful tool
# openssh - included for ssh-keygen
# ca-certificates
# wget - required for installing jp
RUN apk add --no-cache bash gcc make openssl-dev libffi-dev musl-dev jq openssh \
ca-certificates wget openssl git && update-ca-certificates
ca-certificates curl openssl git && update-ca-certificates
# We also, install jp
RUN wget https://github.com/jmespath/jp/releases/download/0.1.2/jp-linux-amd64 -qO /usr/local/bin/jp && chmod +x /usr/local/bin/jp
RUN curl https://github.com/jmespath/jp/releases/download/0.1.2/jp-linux-amd64 -o /usr/local/bin/jp && chmod +x /usr/local/bin/jp

# 1. Build packages and store in tmp dir
# 2. Install the cli and the other command modules that weren't included
Expand Down

0 comments on commit c47f56d

Please sign in to comment.