Commit f3802b9
committed
ray(serve): drive dlc_major/minor_version LABELs from config ARGs
The Ray Serve Dockerfiles hardcoded LABEL dlc_major_version / dlc_minor_version
as static text, so the config's dlc_major_version / dlc_minor_version were passed
as --build-arg but silently ignored (no matching ARG). Config and LABEL could
drift, and only the LABEL affected the released version — editing the config did
nothing.
Add ARG DLC_MAJOR_VERSION / ARG DLC_MINOR_VERSION and interpolate them into the
LABELs (both Dockerfile.cuda and Dockerfile.cpu), matching vllm/sglang amzn2023
and the new ray-train image. The config build: block is now the single source of
truth for the DLC version.1 parent f5d3324 commit f3802b9
2 files changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
57 | 59 | | |
58 | | - | |
59 | | - | |
| 60 | + | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
86 | 88 | | |
87 | | - | |
88 | | - | |
| 89 | + | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| |||
0 commit comments