Skip to content

Commit

Permalink
pipx_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kilianjrk committed Dec 21, 2023
1 parent 1fd683a commit 52f8df9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,6 @@ RUN if [[ ! -z ${ANSIBLE_VERSION} && ! -z ${JINJA_VERSION} ]] ; then \

#install azure-cli
RUN if [[ ! -z ${AZ_CLI_VERSION} ]] ; then \
apt remove azure-cli -y || true && \
pipx install azure-cli==${AZ_CLI_VERSION}; \
fi

Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.minimal
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ RUN sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/too

RUN apk add --no-cache --update gcc libc-dev linux-headers pipx && rm -rf /var/cache/apk/*

RUN pipx install azure-cli
RUN pipx install azure-cli && \
pipx ensurepath


RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && \
Expand Down

0 comments on commit 52f8df9

Please sign in to comment.