From 868764b81cf84792493a42349735207f2f883edb Mon Sep 17 00:00:00 2001 From: tbartley94 Date: Tue, 3 Feb 2026 10:11:56 -0800 Subject: [PATCH 1/2] pinning docker image base Signed-off-by: tbartley94 --- tools/text_processing_deployment/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/text_processing_deployment/Dockerfile b/tools/text_processing_deployment/Dockerfile index be6fedcda..972bab75e 100644 --- a/tools/text_processing_deployment/Dockerfile +++ b/tools/text_processing_deployment/Dockerfile @@ -16,7 +16,7 @@ # Dockerfile for C++ (inverse) text normalization backend Sparrowhawk https://github.com/google/sparrowhawk # set base image (host OS) -FROM continuumio/miniconda3 +FROM continuumio/miniconda3:25.3.1-1 # set the working directory in the container From de422594d7fc1ce06c0d46ce455037fffccddf58 Mon Sep 17 00:00:00 2001 From: tbartley94 Date: Wed, 18 Feb 2026 13:03:08 -0800 Subject: [PATCH 2/2] adding tty fix for tests Signed-off-by: tbartley94 --- tools/text_processing_deployment/docker/launch.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/text_processing_deployment/docker/launch.sh b/tools/text_processing_deployment/docker/launch.sh index 1bb4c78ca..debd98883 100644 --- a/tools/text_processing_deployment/docker/launch.sh +++ b/tools/text_processing_deployment/docker/launch.sh @@ -50,7 +50,13 @@ elif [[ $MODE == "test_itn_grammars" ]]; then fi echo $MOUNTS -docker run -it -e LANG=C.UTF-8 -e LC_ALL=C.UTF-8 --rm \ +# Use -it for interactive mode, -i only for test mode +if [[ $MODE == "interactive" ]]; then + DOCKER_FLAGS="-it" +else + DOCKER_FLAGS="-i" +fi +docker run $DOCKER_FLAGS -e LANG=C.UTF-8 -e LC_ALL=C.UTF-8 --rm \ --shm-size=4g \ --ulimit memlock=-1 \ --ulimit stack=67108864 \