We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41d0c3f commit 942ab96Copy full SHA for 942ab96
images/docker-stacks-foundation/Dockerfile
@@ -131,7 +131,7 @@ RUN set -x && \
131
rm -rf /tmp/bin/ && \
132
# Pin major.minor version of python
133
# https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-pkgs.html#preventing-packages-from-updating-pinning
134
- mamba list --full-name 'python' | tail -1 | tr -s ' ' | cut -d ' ' -f 1,2 | sed 's/\.[^.]*$/.*/' >> "${CONDA_DIR}/conda-meta/pinned" && \
+ mamba list --full-name 'python' | awk 'END{sub("[^.]*$", "*", $2); print $1 " " $2}' >> "${CONDA_DIR}/conda-meta/pinned" && \
135
mamba clean --all -f -y && \
136
fix-permissions "${CONDA_DIR}" && \
137
fix-permissions "/home/${NB_USER}"
0 commit comments