From 58cf1d554ce1c511c0d39c5cbd972b87cbec3fbc Mon Sep 17 00:00:00 2001 From: FatalLin Date: Wed, 11 Jan 2023 14:58:39 +0800 Subject: [PATCH] SUBMARINE-1364. Fix broken mlflow image building ### What is this PR for? it seems like there's an unhandled issue on greenlet since last Dec and cause the failure of mlflow building process. The sqlalchemy community suggest that we could install greenlet via pip first or comment out the dependency. I've test on my laptop and it passed if I install greenlet first. ### What type of PR is it? Hot Fix ### Todos * [ ] - Task ### What is the Jira issue? https://issues.apache.org/jira/browse/SUBMARINE-1364 ### How should this be tested? check the building log. ### Screenshots (if appropriate) ### Questions: * Do the license files need updating?No * Are there breaking changes for older versions?No * Does this need new documentation?No Author: FatalLin Signed-off-by: cdmikechen Closes #1039 from FatalLin/SUBMARINE-1364 and squashes the following commits: 462a9189 [FatalLin] remove unused env e5ff5830 [FatalLin] SUBMARINE-1364. fix broken mlflow image building --- dev-support/docker-images/mlflow/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-support/docker-images/mlflow/Dockerfile b/dev-support/docker-images/mlflow/Dockerfile index cf92a3731f..95f953d95e 100644 --- a/dev-support/docker-images/mlflow/Dockerfile +++ b/dev-support/docker-images/mlflow/Dockerfile @@ -17,7 +17,7 @@ FROM python:3.7.0-slim RUN apt-get update && apt-get -y install --no-install-recommends default-libmysqlclient-dev libpq-dev build-essential wget -RUN pip install mlflow==1.15.0 sqlalchemy==1.4.11 boto3==1.17.58 pymysql==0.9.3 +RUN pip install greenlet==1.1.3 mlflow==1.15.0 sqlalchemy==1.4.11 boto3==1.17.58 pymysql==0.9.3 COPY start.sh /usr/local/bin @@ -28,6 +28,7 @@ ENV AWS_ACCESS_KEY_ID submarine_minio ENV AWS_SECRET_ACCESS_KEY submarine_minio ENV BACKEND_URI mysql+pymysql://mlflow:password@submarine-database:3306/mlflowdb + EXPOSE 5000 CMD ./start.sh \ No newline at end of file