-
Notifications
You must be signed in to change notification settings - Fork 834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Upgrade and fix Dockerfiles #1472
fix: Upgrade and fix Dockerfiles #1472
Conversation
tools/docker/demo/Dockerfile
Outdated
|
||
ARG SPARK_VERSION=3.2.0 | ||
ARG MMLSPARK_VERSION=0.9.5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: we might want to rename this to SYNAPSEML_VERSION
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
ENV PYTHONPATH $SPARK_HOME/python/:$SPARK_HOME/python/lib/py4j*:$PYTHON_PATH | ||
ENV PATH $SPARK_HOME/bin/:$SPARK_HOME/python/:$PATH | ||
|
||
RUN apt-get remove --purge -y \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this needs to be run when apt-get install happens otherwise it will only increase the image size
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you might be talking about apt-get autoclean / autoremove
. This remove sub-command is to remove packages we installed in the first run on Line 13. Let me know if I am wrong here.
@@ -0,0 +1,18 @@ | |||
# demo Dockerfile |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for documenting :)!
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Codecov Report
@@ Coverage Diff @@
## master #1472 +/- ##
==========================================
- Coverage 84.43% 84.41% -0.03%
==========================================
Files 295 295
Lines 14779 14779
Branches 714 714
==========================================
- Hits 12479 12475 -4
- Misses 2300 2304 +4
Continue to review full report at Codecov.
|
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Summary
This Pull Request upgrades and fixes Dockerfiles that users can build images locally and run synapseml notebooks to experiment easily.
Tests
N/A
Dependency chances
None
AB#1745424