This is an automated email from the ASF dual-hosted git repository.
pingsutw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/submarine.git
The following commit(s) were added to refs/heads/master by this push:
new d65f9de SUBMARINE-1024. Failed to build jupyter image
d65f9de is described below
commit d65f9ded9e4505e426335802c602407fe34e89f2
Author: Kevin Su <[email protected]>
AuthorDate: Tue Sep 14 05:07:10 2021 +0800
SUBMARINE-1024. Failed to build jupyter image
### What is this PR for?
<!-- A few sentences describing the overall goals of the pull request's
commits.
First time? Check out the contributing guide -
https://submarine.apache.org/contribution/contributions.html
-->
Fix the error when building the jupyter image
### What type of PR is it?
[Bug Fix]
### Todos
No
### What is the Jira issue?
<!-- * Open an issue on Jira
https://issues.apache.org/jira/browse/SUBMARINE/
* Put link here, and add [SUBMARINE-*Jira number*] in PR title, eg.
`SUBMARINE-23. PR title`
-->
https://issues.apache.org/jira/browse/SUBMARINE-1024
### How should this be tested?
<!--
Pass the CIs
-->
### 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: Kevin Su <[email protected]>
Signed-off-by: Kevin <[email protected]>
Closes #749 from pingsutw/juypter and squashes the following commits:
b0569fbb [Kevin Su] Failed to build jupyter image
1f34ac3e [Kevin Su] Failed to build jupyter image
5476d5a0 [Kevin Su] Fix build jupyter error
---
dev-support/docker-images/jupyter-gpu/Dockerfile | 3 ++-
dev-support/docker-images/jupyter/Dockerfile | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dev-support/docker-images/jupyter-gpu/Dockerfile
b/dev-support/docker-images/jupyter-gpu/Dockerfile
index 6349760..fb7c010 100644
--- a/dev-support/docker-images/jupyter-gpu/Dockerfile
+++ b/dev-support/docker-images/jupyter-gpu/Dockerfile
@@ -107,7 +107,8 @@ RUN cp
submarine/submarine-sdk/pysubmarine/example/submarine_experiment_sdk.ipyn
rm submarine -rf
# Install latest stable qlib
-RUN pip install numpy==1.19.5 pyqlib==0.6.1
+RUN conda install -c conda-forge cvxpy==1.0.21
+RUN pip install numpy==1.19.5 pyqlib==0.6.2
# Add qlib example in notebook
RUN wget
https://raw.githubusercontent.com/microsoft/qlib/main/examples/workflow_by_code.ipynb
-P $HOME
diff --git a/dev-support/docker-images/jupyter/Dockerfile
b/dev-support/docker-images/jupyter/Dockerfile
index 93b4469..644873c 100644
--- a/dev-support/docker-images/jupyter/Dockerfile
+++ b/dev-support/docker-images/jupyter/Dockerfile
@@ -110,7 +110,8 @@ RUN cp
submarine/submarine-sdk/pysubmarine/example/submarine_experiment_sdk.ipyn
RUN pip install boto3==1.17.58 mlflow==1.15.0
# Install latest stable qlib
-RUN pip install numpy==1.19.5 pyqlib==0.6.1
+RUN conda install -c conda-forge cvxpy==1.0.21
+RUN pip install numpy==1.19.5 pyqlib==0.6.2
# Add qlib example in notebook
RUN wget
https://raw.githubusercontent.com/microsoft/qlib/main/examples/workflow_by_code.ipynb
-P $HOME
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]