Commit 2847a55
authored
fix(infra): Remove local file check in base_images Cloud Function (#14340)
The Cloud Function environment does not include the full repository, so
checking for the existence of Dockerfiles locally (os.path.exists)
causes a FileNotFoundError and crashes the function.
This change assumes that if a supported version is requested (e.g.
ubuntu-20-04), the corresponding Dockerfile exists, which is verified by
the project structure.1 parent 1bf2302 commit 2847a55
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
| 102 | + | |
| 103 | + | |
107 | 104 | | |
108 | 105 | | |
109 | 106 | | |
| |||
0 commit comments