Skip to content

Commit

Permalink
Merge pull request #8 from camptocamp/azure_cli
Browse files Browse the repository at this point in the history
fix: issue with kubectl version not download
  • Loading branch information
Philippe authored Nov 30, 2021
2 parents 93c7749 + e9ad245 commit abcd3a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM vault AS builder
WORKDIR /data/
ENV KUBEVERSION=v1.20.13
RUN apk add jq rclone curl gcc musl-dev python3-dev libffi-dev openssl-dev cargo make py3-pip ca-certificates
RUN python3 -m venv /data/azure-cli
RUN source /data/azure-cli/bin/activate && pip install azure-cli
Expand All @@ -10,5 +9,6 @@ RUN apk add jq rclone curl python3 ca-certificates
COPY --from=builder /data/azure-cli /data/azure-cli
ENV PYTHONPATH=/data/azure-cli
ENV PATH=/data/azure-cli/bin/:$PATH
ENV KUBEVERSION=v1.20.13
RUN curl -L "https://dl.k8s.io/release/${KUBEVERSION}/bin/linux/amd64/kubectl" -o /usr/bin/kubectl
RUN chmod +x /usr/bin/kubectl

0 comments on commit abcd3a9

Please sign in to comment.