Commit 73001c5
fix(ls-api): fix AWS_LAMBDA_FUNCTION_VERSION panic, deduplicate docker flags
Two changes:
1. Add AWS_LAMBDA_FUNCTION_VERSION (and --platform/--add-host) to a shared
RIE_DOCKER_OPTS variable in the Makefile. smoke-test.sh was missing this
env var, causing a startup panic in the RIE. RIE_DOCKER_OPTS uses
deferred assignment (=) so $$LATEST survives to recipe expansion time.
2. Replace the duplicated docker_opts array in smoke-test.sh with a call
to the new start-rie-detached Makefile target. Both start-rie and
start-rie-detached now use the same RIE_DOCKER_OPTS, so env vars
stay in sync automatically.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent c34792f commit 73001c5
2 files changed
Lines changed: 25 additions & 34 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
11 | 29 | | |
12 | 30 | | |
13 | 31 | | |
| |||
19 | 37 | | |
20 | 38 | | |
21 | 39 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
35 | 44 | | |
36 | 45 | | |
37 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
| |||
55 | 53 | | |
56 | 54 | | |
57 | 55 | | |
| 56 | + | |
58 | 57 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 58 | + | |
77 | 59 | | |
78 | 60 | | |
79 | 61 | | |
| |||
0 commit comments