Add x86_64 compatibility check
This commit is contained in:
parent
bbb127166a
commit
5f431e966e
1 changed files with 6 additions and 0 deletions
|
@ -247,6 +247,12 @@ def os_arch_checker(os, arch):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
architecture = image_json.get('architecture', 'amd64')
|
architecture = image_json.get('architecture', 'amd64')
|
||||||
|
|
||||||
|
# Note: Some older Docker images have 'x86_64' rather than 'amd64'.
|
||||||
|
# We allow the conversion here.
|
||||||
|
if architecture == 'x86_64' and operating_system == 'linux':
|
||||||
|
architecture = 'amd64'
|
||||||
|
|
||||||
if architecture != arch:
|
if architecture != arch:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
Reference in a new issue