Skip to content

Commit 7642ba8

Browse files
Update base-notebook/Dockerfile
Co-authored-by: Erik Sundell <[email protected]>
1 parent 2863343 commit 7642ba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base-notebook/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ RUN wget --quiet "https://github.com/conda-forge/miniforge/releases/download/${m
112112
echo "conda ${CONDA_VERSION}" >> "${CONDA_DIR}/conda-meta/pinned" && \
113113
conda config --system --set auto_update_conda false && \
114114
conda config --system --set show_channel_urls true && \
115-
if [ ! ${PYTHON_VERSION} = 'default' ]; then conda install --yes python=${PYTHON_VERSION}; fi && \
115+
if [[ "${PYTHON_VERSION}" != "default" ]]; then conda install --yes python="${PYTHON_VERSION}"; fi && \
116116
conda list python | grep '^python ' | tr -s ' ' | cut -d '.' -f 1,2 | sed 's/$/.*/' >> "${CONDA_DIR}/conda-meta/pinned" && \
117117
conda install --quiet --yes \
118118
"conda=${CONDA_VERSION}" \

0 commit comments

Comments
 (0)