diff --git a/cloudknot/dockerimage.py b/cloudknot/dockerimage.py index 3b06b9d..9d0c3ca 100644 --- a/cloudknot/dockerimage.py +++ b/cloudknot/dockerimage.py @@ -696,6 +696,7 @@ def build(self, tags, image_name=None, nocache=False): rm=True, forcerm=True, nocache=nocache, + platform="linux/amd64", ) # Update the config file images list diff --git a/cloudknot/templates/Dockerfile.template b/cloudknot/templates/Dockerfile.template index 24ad63c..22b0f86 100644 --- a/cloudknot/templates/Dockerfile.template +++ b/cloudknot/templates/Dockerfile.template @@ -4,7 +4,7 @@ ############################################################################### # Use official python base image -FROM ${base_image} --platform=linux/amd64 +FROM ${base_image} # Install python dependencies COPY requirements.txt /tmp/