Commit cfac1b9 1 parent 3fc6d7f commit cfac1b9 Copy full SHA for cfac1b9
File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
DockerfileName = "Dockerfile"
2
2
DockerfileTemplate = """
3
- FROM continuumio/miniconda3:4.12.0 AS env-builder
3
+ FROM continuumio/miniconda3:22.11.1 AS env-builder
4
4
SHELL ["/bin/bash", "-c"]
5
5
6
6
ARG MLSERVER_ENV_NAME="mlserver-custom-env" \\
7
7
MLSERVER_ENV_TARBALL="./envs/base.tar.gz"
8
8
9
9
RUN conda config --add channels conda-forge && \\
10
+ conda install conda-libmamba-solver && \\
11
+ conda config --set solver libmamba && \\
10
12
conda install conda-pack
11
13
12
14
# The `[]` character range will ensure that Docker doesn't complain if the
24
26
conda env create \
25
27
--name $MLSERVER_ENV_NAME \\
26
28
--file $envFile; \\
27
- conda-pack --ignore-missing-files --quiet \
29
+ conda-pack --ignore-missing-files \
28
30
-n $MLSERVER_ENV_NAME \\
29
31
-o $MLSERVER_ENV_TARBALL; \\
30
32
fi \\
You can’t perform that action at this time.
0 commit comments