diff --git a/instill/helpers/cli.py b/instill/helpers/cli.py index b1a0483..f0495da 100644 --- a/instill/helpers/cli.py +++ b/instill/helpers/cli.py @@ -299,10 +299,6 @@ def run(args): "--shm-size=4gb", "--name", str(name), - "-v", - "/etc/timezone:/etc/timezone:ro", - "-v", - "/etc/localtime:/etc/localtime:ro", f"{args.name}:{args.tag}", "serve", "run", @@ -315,7 +311,6 @@ def run(args): subprocess.run( f"docker run \ --rm -d --shm-size=4gb --name {str(name)} --gpus all \ - -v /etc/timezone:/etc/timezone:ro -v /etc/localtime:/etc/localtime:ro \ {args.name}:{args.tag} /bin/bash -c \ \"serve build _model:entrypoint -o serve.yaml && \ sed -i 's/app1/default/' serve.yaml && \ diff --git a/instill/helpers/init-templates/Dockerfile b/instill/helpers/init-templates/Dockerfile index d742a44..9188750 100644 --- a/instill/helpers/init-templates/Dockerfile +++ b/instill/helpers/init-templates/Dockerfile @@ -6,7 +6,7 @@ ARG TARGET_ARCH_SUFFIX FROM rayproject/ray:${RAY_VERSION}-py${PYTHON_VERSION}${CUDA_SUFFIX}${TARGET_ARCH_SUFFIX} -RUN sudo apt-get update && sudo apt-get install tzdata curl vim -y +RUN sudo apt-get update && sudo apt-get install curl vim -y ARG SYSTEM_PACKAGES RUN for package in ${SYSTEM_PACKAGES}; do \