Skip to content

Commit 8ac2969

Browse files
nitins17Google-ML-Automation
authored andcommitted
Pass JAXLIB_* env variables to docker container
PiperOrigin-RevId: 730922129
1 parent ced2816 commit 8ac2969

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ci/utilities/run_docker_container.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ if ! docker container inspect jax >/dev/null 2>&1 ; then
5252
JAXCI_DOCKER_ARGS="$JAXCI_DOCKER_ARGS -e GCE_METADATA_HOST=$IP_ADDR"
5353
fi
5454

55-
# Create a temporary file to pass any user defined JAXCI_ / JAX_ variables to
56-
# the container.
55+
# Create a temporary file to pass any user defined JAXCI_ / JAX_ / JAXLIB_
56+
# variables to the container.
5757
JAXCI_TEMP_ENVFILE_DIR=$(mktemp)
58-
env | grep -e "JAXCI_" -e "JAX_" > "$JAXCI_TEMP_ENVFILE_DIR"
58+
env | grep -e "JAXCI_" -e "JAX_" -e "JAXLIB_" > "$JAXCI_TEMP_ENVFILE_DIR"
5959

6060
# On Windows, convert MSYS Linux-like paths to Windows paths.
6161
if [[ "$(uname -s)" =~ "MSYS_NT" ]]; then

0 commit comments

Comments
 (0)