Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Is it possible to change image to arm32/v7 #24

Open
mleister97 opened this issue May 12, 2021 · 0 comments
Open

Is it possible to change image to arm32/v7 #24

mleister97 opened this issue May 12, 2021 · 0 comments

Comments

@mleister97
Copy link

Hey, as I am running the ML python script on a Raspberry Pi I would need to use an arm32/v7 image.

Sadly, the following change

image_config = ContainerImage.image_configuration(runtime= "python",
                                 execution_script="iot_score.py",
                                 conda_file="myenv.yml",
                                 tags = {'area': "iot", 'type': "classification"},
                                 description = "IOT Edge anomaly detection demo",
                                 base_image="docker.io/arm32v7/python:alpine" # added
                                 )

returns error messages like this:

Step 6/22 : RUN cp -r /var/licenses/* /
 ---> [Warning] The requested image's platform (linux/arm) does not match the detected host platform (linux/amd64) and no specific platform was requested
 ---> Running in 61389f03f636
Removing intermediate container 61389f03f636
 ---> 8477ab23a627
Step 7/22 : RUN /var/requirements/install_system_requirements.sh
 ---> [Warning] The requested image's platform (linux/arm) does not match the detected host platform (linux/amd64) and no specific platform was requested
 ---> Running in c82a90b42c80
�[91m/bin/sh: �[0m�[91m/var/requirements/install_system_requirements.sh: not found�[0m�[91m
�[0mThe command '/bin/sh -c /var/requirements/install_system_requirements.sh' returned a non-zero code: 127
2021/05/12 10:49:46 Container failed during run: acb_step_0. No retries remaining.
failed to run step ID: acb_step_0: exit status 127

Run ID: cbe failed after 20s. Error: failed during run, err: exit status 1

Any ideas?

@mleister97 mleister97 changed the title Support for arm32/v7 Is it possible to change image to arm32/v7 May 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant