Skip to content

Commit 7291526

Browse files
authored
Merge pull request #1351 from mathbunnyru/asalikhov/use_mamba
Use mamba instead of conda in spark images
2 parents 81a0369 + 4befdd5 commit 7291526

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

all-spark-notebook/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@ RUN apt-get update --yes && \
2222
USER ${NB_UID}
2323

2424
# R packages including IRKernel which gets installed globally.
25-
RUN conda install --quiet --yes \
25+
RUN mamba install --quiet --yes \
2626
'r-base=4.0.3' \
2727
'r-ggplot2=3.3*' \
2828
'r-irkernel=1.1*' \
2929
'r-rcurl=1.98*' \
3030
'r-sparklyr=1.6*' && \
31-
conda clean --all -f -y && \
31+
mamba clean --all -f -y && \
3232
fix-permissions "${CONDA_DIR}" && \
3333
fix-permissions "/home/${NB_USER}"
3434

3535
# Spylon-kernel
36-
RUN conda install --quiet --yes 'spylon-kernel=0.4*' && \
37-
conda clean --all -f -y && \
36+
RUN mamba install --quiet --yes 'spylon-kernel=0.4*' && \
37+
mamba clean --all -f -y && \
3838
python -m spylon_kernel install --sys-prefix && \
3939
rm -rf "/home/${NB_USER}/.local" && \
4040
fix-permissions "${CONDA_DIR}" && \

pyspark-notebook/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ RUN cp -p "${SPARK_HOME}/conf/spark-defaults.conf.template" "${SPARK_HOME}/conf/
5555
USER ${NB_UID}
5656

5757
# Install pyarrow
58-
RUN conda install --quiet --yes --satisfied-skip-solve \
58+
RUN mamba install --quiet --yes \
5959
'pyarrow=4.0.*' && \
60-
conda clean --all -f -y && \
60+
mamba clean --all -f -y && \
6161
fix-permissions "${CONDA_DIR}" && \
6262
fix-permissions "/home/${NB_USER}"
6363

0 commit comments

Comments
 (0)