diff --git a/mlflow/models/docker_utils.py b/mlflow/models/docker_utils.py index d1a5f7ff5a42c..93ff8db550b33 100644 --- a/mlflow/models/docker_utils.py +++ b/mlflow/models/docker_utils.py @@ -14,7 +14,8 @@ _DOCKERFILE_TEMPLATE = """ # Build an image that can serve mlflow models. FROM ubuntu:18.04 - +ARG PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python +ENV PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python RUN apt-get -y update && apt-get install -y --no-install-recommends \ wget \ curl \