-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #205 from ksandermann/pipx_fix
Pipx fix
- Loading branch information
Showing
3 changed files
with
7 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,6 @@ LABEL maintainer="[email protected]" | |
RUN mkdir -p /root/download/ | ||
WORKDIR /root/download | ||
|
||
ENV PATH="venv/bin:$PATH" | ||
|
||
RUN apk upgrade --update-cache --available && \ | ||
apk add --no-cache --update \ | ||
bash \ | ||
|
@@ -23,7 +21,6 @@ RUN apk upgrade --update-cache --available && \ | |
python3 \ | ||
python3-dev \ | ||
py3-pip \ | ||
pipx \ | ||
jq \ | ||
wget \ | ||
yq \ | ||
|
@@ -34,16 +31,13 @@ RUN apk upgrade --update-cache --available && \ | |
RUN sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" && \ | ||
apk add --no-cache --update zsh-vcs && rm -rf /var/cache/apk/* | ||
|
||
RUN apk add --no-cache --update gcc libc-dev linux-headers pipx && rm -rf /var/cache/apk/* | ||
|
||
RUN pipx install azure-cli && \ | ||
pipx ensurepath | ||
RUN apk add --no-cache --update gcc libc-dev linux-headers && rm -rf /var/cache/apk/* | ||
|
||
RUN pip install azure-cli --break-system-packages | ||
|
||
RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && \ | ||
install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl | ||
|
||
|
||
#GENERICS | ||
ENV EDITOR nano | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters