Skip to content

Commit cfac1b9

Browse files
authored
Bump in conda version and mamba solver (#1298)
1 parent 3fc6d7f commit cfac1b9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

mlserver/cli/constants.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
DockerfileName = "Dockerfile"
22
DockerfileTemplate = """
3-
FROM continuumio/miniconda3:4.12.0 AS env-builder
3+
FROM continuumio/miniconda3:22.11.1 AS env-builder
44
SHELL ["/bin/bash", "-c"]
55
66
ARG MLSERVER_ENV_NAME="mlserver-custom-env" \\
77
MLSERVER_ENV_TARBALL="./envs/base.tar.gz"
88
99
RUN conda config --add channels conda-forge && \\
10+
conda install conda-libmamba-solver && \\
11+
conda config --set solver libmamba && \\
1012
conda install conda-pack
1113
1214
# The `[]` character range will ensure that Docker doesn't complain if the
@@ -24,7 +26,7 @@
2426
conda env create \
2527
--name $MLSERVER_ENV_NAME \\
2628
--file $envFile; \\
27-
conda-pack --ignore-missing-files --quiet \
29+
conda-pack --ignore-missing-files \
2830
-n $MLSERVER_ENV_NAME \\
2931
-o $MLSERVER_ENV_TARBALL; \\
3032
fi \\

0 commit comments

Comments
 (0)