Skip to content

Commit

Permalink
restrict libmamba version, use npm update instead of install
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruinong Tian committed Dec 24, 2024
1 parent 7149498 commit 2199e86
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build_artifacts/v1/v1.10/v1.10.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ ARG MAMBA_DOCKERFILE_ACTIVATE=1
RUN sudo ln -s $(which python3) /usr/bin/python

# Update npm version
RUN npm i -g npm
RUN npm update -g npm

# Configure CodeEditor - Install extensions and set preferences
RUN \
Expand Down
1 change: 1 addition & 0 deletions build_artifacts/v1/v1.10/v1.10.2/cpu.env.in
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,4 @@ conda-forge::sasl[version='>=0.3.1,<0.4.0']
conda-forge::thrift_sasl[version='>=0.4.3,<0.5.0']
conda-forge::pyhive[version='>=0.7.0,<0.8.0']
conda-forge::python-gssapi[version='>=1.8.3,<1.9.0']
conda-forge::libmamba[version='<2.0.0']
1 change: 1 addition & 0 deletions build_artifacts/v1/v1.10/v1.10.2/gpu.env.in
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,4 @@ conda-forge::sasl[version='>=0.3.1,<0.4.0']
conda-forge::thrift_sasl[version='>=0.4.3,<0.5.0']
conda-forge::pyhive[version='>=0.7.0,<0.8.0']
conda-forge::python-gssapi[version='>=1.8.3,<1.9.0']
conda-forge::libmamba[version='<2.0.0']
2 changes: 1 addition & 1 deletion template/v1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ ARG MAMBA_DOCKERFILE_ACTIVATE=1
RUN sudo ln -s $(which python3) /usr/bin/python

# Update npm version
RUN npm i -g npm
RUN RUN npm update -g npm

# Configure CodeEditor - Install extensions and set preferences
RUN \
Expand Down
2 changes: 1 addition & 1 deletion template/v2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ RUN if [[ -z $ARG_BASED_ENV_IN_FILENAME ]] ; \
rm -rf /tmp/*.in && \
sudo ln -s $(which python3) /usr/bin/python && \
# Update npm version
npm i -g npm && \
npm update -g npm && \
# Enforce to use `conda-forge` as only channel, by removing `defaults`
conda config --remove channels defaults && \
micromamba config append channels conda-forge --env && \
Expand Down
2 changes: 1 addition & 1 deletion template/v3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ RUN if [[ -z $ARG_BASED_ENV_IN_FILENAME ]] ; \
rm -rf /tmp/*.in && \
sudo ln -s $(which python3) /usr/bin/python && \
# Update npm version
npm i -g npm && \
npm update -g npm && \
# Enforce to use `conda-forge` as only channel, by removing `defaults`
conda config --remove channels defaults && \
micromamba config append channels conda-forge --env && \
Expand Down

0 comments on commit 2199e86

Please sign in to comment.