Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump in conda version and mamba solver #1298

Merged
merged 29 commits into from
Aug 10, 2023
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
0ce974d
Adding conda unpack option to docker build / entrypoint
dtpryce Dec 22, 2022
164288a
Fixing true / false usage
dtpryce Dec 22, 2022
86f62f7
Correction to cli option
dtpryce Dec 22, 2022
06c6b8c
black lint fixes
dtpryce Dec 22, 2022
770a8b3
Simplification
dtpryce Jan 9, 2023
80f2d05
Final lint fixes
dtpryce Jan 9, 2023
413503a
Adding conda unpack option to docker build / entrypoint
dtpryce Dec 22, 2022
7b7efae
Fixing true / false usage
dtpryce Dec 22, 2022
22e627c
Correction to cli option
dtpryce Dec 22, 2022
3c79b66
black lint fixes
dtpryce Dec 22, 2022
3b8f4a7
Simplification
dtpryce Jan 9, 2023
7a0f9a6
Final lint fixes
dtpryce Jan 9, 2023
871b183
Merge branch 'master' of github.com:dtpryce/MLServer
dtpryce Jan 10, 2023
eb56fec
Merge branch 'SeldonIO:master' into master
dtpryce Jun 13, 2023
7f3b9f7
Adding conda unpack option to docker build / entrypoint
dtpryce Dec 22, 2022
19544bc
Fixing true / false usage
dtpryce Dec 22, 2022
f0c0648
Correction to cli option
dtpryce Dec 22, 2022
87503b6
black lint fixes
dtpryce Dec 22, 2022
468a576
Simplification
dtpryce Jan 9, 2023
9c78eba
Final lint fixes
dtpryce Jan 9, 2023
a836d12
Adding conda unpack option to docker build / entrypoint
dtpryce Dec 22, 2022
7fcda72
Fixing true / false usage
dtpryce Dec 22, 2022
5504bff
black lint fixes
dtpryce Dec 22, 2022
3afee1a
Simplification
dtpryce Jan 9, 2023
1025dc7
Final lint fixes
dtpryce Jan 9, 2023
e30b90a
Merge branch 'master' of github.com:dtpryce/MLServer
dtpryce Jul 13, 2023
b905a5b
Bump in conda version and mamba solver
dtpryce Jul 14, 2023
1f2ba2f
Fixing for black linter
dtpryce Jul 14, 2023
9223a28
Removing the quiet from build step - devs want it back
dtpryce Jul 14, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions mlserver/cli/constants.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
DockerfileName = "Dockerfile"
DockerfileTemplate = """
FROM continuumio/miniconda3:4.12.0 AS env-builder
FROM continuumio/miniconda3:22.11.1 AS env-builder
SHELL ["/bin/bash", "-c"]
ARG MLSERVER_ENV_NAME="mlserver-custom-env" \\
MLSERVER_ENV_TARBALL="./envs/base.tar.gz"
RUN conda config --add channels conda-forge && \\
conda install conda-libmamba-solver && \\
conda config --set solver libmamba && \\
conda install conda-pack
# The `[]` character range will ensure that Docker doesn't complain if the
Expand All @@ -24,7 +26,7 @@
conda env create \
--name $MLSERVER_ENV_NAME \\
--file $envFile; \\
conda-pack --ignore-missing-files --quiet \
conda-pack --ignore-missing-files \
-n $MLSERVER_ENV_NAME \\
-o $MLSERVER_ENV_TARBALL; \\
fi \\
Expand Down