mirror of
https://github.com/ansible/awx.git
synced 2026-03-22 11:25:08 -02:30
Adding ppc64le support parameters
This commit is contained in:
@@ -9,5 +9,4 @@ template_dest: '_build'
|
|||||||
receptor_image: quay.io/ansible/receptor:devel
|
receptor_image: quay.io/ansible/receptor:devel
|
||||||
|
|
||||||
# Helper vars to construct the proper download URL for the current architecture
|
# Helper vars to construct the proper download URL for the current architecture
|
||||||
tini_architecture: '{{ { "x86_64": "amd64", "aarch64": "arm64", "armv7": "arm" }[ansible_facts.architecture] }}'
|
image_architecture: '{{ { "x86_64": "amd64", "aarch64": "arm64", "armv7": "arm", "ppc64le": "ppc64le" }[ansible_facts.architecture] }}'
|
||||||
kubectl_architecture: '{{ { "x86_64": "amd64", "aarch64": "arm64", "armv7": "arm" }[ansible_facts.architecture] }}'
|
|
||||||
|
|||||||
@@ -46,6 +46,13 @@ RUN dnf -y update && dnf install -y 'dnf-command(config-manager)' && \
|
|||||||
|
|
||||||
RUN pip3 install virtualenv build
|
RUN pip3 install virtualenv build
|
||||||
|
|
||||||
|
{% if image_architecture == 'ppc64le' %}
|
||||||
|
RUN dnf -y update && dnf install -y wget && \
|
||||||
|
wget https://static.rust-lang.org/dist/rust-1.41.0-powerpc64le-unknown-linux-gnu.tar.gz && \
|
||||||
|
tar -zxvf rust-1.41.0-powerpc64le-unknown-linux-gnu.tar.gz && \
|
||||||
|
cd rust-1.41.0-powerpc64le-unknown-linux-gnu && \
|
||||||
|
sh install.sh ;
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# Install & build requirements
|
# Install & build requirements
|
||||||
ADD Makefile /tmp/Makefile
|
ADD Makefile /tmp/Makefile
|
||||||
|
|||||||
Reference in New Issue
Block a user