mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Merge pull request #9914 from dhoppe/fix_architecture
Define variables in the correct Ansible role SUMMARY This pull request is related to #9913. ISSUE TYPE Bugfix Pull Request COMPONENT NAME Docker AWX VERSION awx: 19.0.0 ADDITIONAL INFORMATION This pull request ensures that tini is downloaded for the correct architecture. $ grep tini Dockerfil # Install tini RUN curl -L -o /usr/bin/tini https://github.com/krallin/tini/releases/download/v0.19.0/tini-arm64 && \ chmod +x /usr/bin/tini Reviewed-by: Shane McDonald <me@shanemcd.com>
This commit is contained in:
commit
d834519aae
@ -4,3 +4,7 @@ kube_dev: false
|
||||
dockerfile_dest: '../..'
|
||||
dockerfile_name: 'Dockerfile'
|
||||
template_dest: '_build'
|
||||
|
||||
# Helper vars to construct the proper download URL for the current architecture
|
||||
tini_architecture: '{{ { "x86_64": "amd64", "aarch64": "arm64", "armv7": "arm" }[ansible_facts.architecture] }}'
|
||||
kubectl_architecture: '{{ { "x86_64": "amd64", "aarch64": "arm64", "armv7": "arm" }[ansible_facts.architecture] }}'
|
||||
|
||||
@ -1,6 +1,2 @@
|
||||
---
|
||||
awx_image: quay.io/ansible/awx
|
||||
|
||||
# Helper vars to construct the proper download URL for the current architecture
|
||||
tini_architecture: '{{ { "x86_64": "amd64", "aarch64": "arm64", "armv7": "arm" }[ansible_facts.architecture] }}'
|
||||
kubectl_architecture: '{{ { "x86_64": "amd64", "aarch64": "arm64", "armv7": "arm" }[ansible_facts.architecture] }}'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user