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

Commit

Permalink
SUBMARINE-1364. Fix broken mlflow image building
Browse files Browse the repository at this point in the history
### 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 <[email protected]>

Signed-off-by: cdmikechen <[email protected]>

Closes #1039 from FatalLin/SUBMARINE-1364 and squashes the following commits:

462a918 [FatalLin] remove unused env
e5ff583 [FatalLin] SUBMARINE-1364. fix broken mlflow image building
  • Loading branch information
FatalLin authored and cdmikechen committed Jan 13, 2023
1 parent 6d18d55 commit 58cf1d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev-support/docker-images/mlflow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

0 comments on commit 58cf1d5

Please sign in to comment.