azureml-examples icon indicating copy to clipboard operation
azureml-examples copied to clipboard

Dockerfile in the Custom Docker File Approach for R Example Needs to be Updated

Open iamramengirl opened this issue 2 years ago • 0 comments

The Dockerfiles in the following examples are not updated.

example:

  • https://github.com/Azure/azureml-examples/tree/main/cli/jobs/single-step/r/iris
  • https://github.com/Azure/azureml-examples/tree/main/cli/jobs/single-step/r/accidents

description: The job fails when creating it using the existing sample. It is showing the following errors in the logs.

AttributeError module 'dateutil' has no attribute 'parser'
System command 'mlflow' failed, exit status 1, stdout & stderr were printedWarning messages

After several tests, I found the following 2 issues.

  • The base image is still referencing Ubuntu version 18.04
  • mlflow only compatible with Python 3.7

As a workaround, I updated the Dockerfile and used the latest base image Latest Base Image and add the pip install mlflow so that the image gets the latest mlflow version.

Additional context

iamramengirl avatar Sep 16 '22 01:09 iamramengirl