Skip to content

Commit 07c35fc

Browse files
include PATH in reserved var list
1 parent 0dad9c6 commit 07c35fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

truss/contexts/image_builder/serving_image_builder.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@
103103

104104
# PORT: knative reserved
105105
# HOSTNAME: set to the pod name by k8s
106-
K8S_RESERVED_ENVIRONMENT_VARIABLES = set(["PORT", "HOSTNAME"])
106+
# PATH: must be baked into the Dockerfile for $PATH expansion to work correctly
107+
K8S_RESERVED_ENVIRONMENT_VARIABLES = set(["PORT", "HOSTNAME", "PATH"])
107108

108109

109110
class RemoteCache(ABC):

0 commit comments

Comments
 (0)