@@ -24,11 +24,10 @@ COPY ./docker/requirements.txt /requirements.txt
24
24
25
25
RUN . /opt/global_py_venv/bin/activate && \
26
26
# Needed for some viz in thicket-tutorial
27
- python3 -m pip install plotly[express] && \
28
- python3 -m pip install -r /requirements.txt && \
29
- # Covered in requirements.txt, so shouldn't be needed here
30
- # python3 -m pip install ipython==7.34.0 ipykernel==6.25.1 && \
31
- python3 -m IPython kernel install
27
+ /opt/global_py_venv/bin/python3 -m pip install plotly[express] && \
28
+ /opt/global_py_venv/bin/python3 -m pip install -r /requirements.txt && \
29
+ /opt/global_py_venv/bin/python3 -m pip install -U jupyter ipython ipykernel && \
30
+ /opt/global_py_venv/bin/python3 -m ipykernel install --prefix=/usr/local --name 'benchpark-tutorial-kernel'
32
31
33
32
COPY ./docker/kitware-archive.sh /tmp
34
33
@@ -41,7 +40,12 @@ RUN /tmp/kitware-archive.sh && \
41
40
COPY ./tutorial-code/thicket-tutorial/requirements.txt /tmp/thicket-tutorial/requirements.txt
42
41
43
42
RUN . /opt/global_py_venv/bin/activate && \
44
- python3 -m pip install -r /tmp/thicket-tutorial/requirements.txt
43
+ python3 -m pip install extrap scikit-learn seaborn
44
+ # NOTE: we're not installing the dependencies for thicket-tutorial with
45
+ # requirements.txt because it hardcodes a version of IPython, which
46
+ # breaks all sorts of things. Instead, we extract the relevant dependencies
47
+ # and place them above.
48
+ # python3 -m pip install -r /tmp/thicket-tutorial/requirements.txt
45
49
46
50
COPY ./tutorial-code/caliper-tutorial/apps /tmp/caliper-tutorial/apps/
47
51
COPY ./tutorial-code/caliper-tutorial/cmake /tmp/caliper-tutorial/cmake/
@@ -78,7 +82,16 @@ RUN cmake \
78
82
# && \
79
83
# rm -rf /tmp/build-xsbench
80
84
81
- RUN chmod -R 777 ~/ ${HOME}
85
+ COPY ./tutorial-code/caliper-tutorial/tutorial ${HOME}/caliper-tutorial/
86
+ COPY ./tutorial-code/thicket-tutorial/data/ ${HOME}/thicket-tutorial/data/
87
+ COPY ./tutorial-code/thicket-tutorial/notebooks ${HOME}/thicket-tutorial/notebooks/
88
+ COPY ./tutorial-code/thicket-tutorial/LICENSE ${HOME}/thicket-tutorial
89
+
90
+ COPY tutorial-code/system-description/aws-tutorial ${HOME}/benchpark/systems/aws-tutorial
91
+ COPY tutorial-code/system-description/AWS_Tutorial-c7i-EFA ${HOME}/benchpark/systems/all_hardware_descriptions/AWS_Tutorial-c7i-EFA
92
+
93
+ RUN chown -R jovyan ${HOME}
94
+ # RUN chmod -R 777 ~/ ${HOME}
82
95
83
96
WORKDIR ${HOME}
84
97
@@ -91,14 +104,6 @@ USER ${NB_USER}
91
104
ENV SHELL=/usr/bin/bash
92
105
ENV FLUX_URI_RESOLVE_LOCAL=t
93
106
94
- COPY ./tutorial-code/caliper-tutorial/tutorial ${HOME}/caliper-tutorial/
95
- COPY ./tutorial-code/thicket-tutorial/data/ ${HOME}/thicket-tutorial/data/
96
- COPY ./tutorial-code/thicket-tutorial/notebooks ${HOME}/thicket-tutorial/notebooks/
97
- COPY ./tutorial-code/thicket-tutorial/LICENSE ${HOME}/thicket-tutorial
98
-
99
- COPY tutorial-code/system-description/aws-tutorial ${HOME}/benchpark/systems/aws-tutorial
100
- COPY tutorial-code/system-description/AWS_Tutorial-c7i-EFA ${HOME}/benchpark/systems/all_hardware_descriptions/AWS_Tutorial-c7i-EFA
101
-
102
107
EXPOSE 8888
103
108
ENTRYPOINT [ "tini", "--" ]
104
109
0 commit comments