mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 09:18:48 -03:30
Merge pull request #10002 from shanemcd/goodbye-binaries
Stop installing kubectl/oc Realized this when looking at #9428 Reviewed-by: Chris Meyers <None> Reviewed-by: Christian Adams <rooftopcellist@gmail.com>
This commit is contained in:
@@ -107,10 +107,6 @@ RUN dnf -y update && \
|
|||||||
dnf -y install centos-release-stream && dnf -y install "rsyslog >= 8.1911.0" && dnf -y remove centos-release-stream && \
|
dnf -y install centos-release-stream && dnf -y install "rsyslog >= 8.1911.0" && dnf -y remove centos-release-stream && \
|
||||||
dnf -y clean all
|
dnf -y clean all
|
||||||
|
|
||||||
# Install kubectl
|
|
||||||
RUN curl -L -o /usr/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/v1.17.8/bin/linux/{{ kubectl_architecture | default('amd64') }}/kubectl && \
|
|
||||||
chmod a+x /usr/bin/kubectl
|
|
||||||
|
|
||||||
RUN curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 && \
|
RUN curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 && \
|
||||||
chmod 700 get_helm.sh && \
|
chmod 700 get_helm.sh && \
|
||||||
./get_helm.sh
|
./get_helm.sh
|
||||||
@@ -123,11 +119,6 @@ RUN python3.8 -m ensurepip && pip3 install "virtualenv < 20" supervisor
|
|||||||
|
|
||||||
RUN rm -rf /root/.cache && rm -rf /tmp/*
|
RUN rm -rf /root/.cache && rm -rf /tmp/*
|
||||||
|
|
||||||
# Install OpenShift CLI
|
|
||||||
RUN cd /usr/local/bin && \
|
|
||||||
curl -L https://github.com/openshift/origin/releases/download/v3.11.0/openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz | \
|
|
||||||
tar -xz --strip-components=1 --wildcards --no-anchored 'oc'
|
|
||||||
|
|
||||||
{% if (build_dev|bool) or (kube_dev|bool) %}
|
{% if (build_dev|bool) or (kube_dev|bool) %}
|
||||||
# Install development/test requirements
|
# Install development/test requirements
|
||||||
RUN dnf -y install \
|
RUN dnf -y install \
|
||||||
|
|||||||
Reference in New Issue
Block a user