Contents of self-created Lambda Runtime image differes from expected #987
Labels
guidance
Question that needs advice or information.
module/custom-runtime
response-requested
Waiting on additional info and feedback. Will move to close soon in 7 days.
Preface
At the time of writing, the official .NET 6 Lambda image has not been pushed to the following image repositories:
A relevant issue is brought up here:
Description
A temporary fix is to create the needed runtime image yourself, explained in #889 (comment).
Unsure if it is intended, but the resulting .NET 6 image created using the mentioned instructions differs in structure from the official images. To properly highlight this difference, I will ignore comparison with .NET 6 image and only use .NET 5 as a point of reference, as the problem is reproducable with that version as well.
See images below (ignore highlighted words):
Left tree: Content tree to the is from the image
public.ecr.aws/lambda/dotnet:5.0
from https://gallery.ecr.aws/lambda/dotnetRight tree: Content tree of the created image when following the instructions from #889 (comment) to create a .NET 5 image.
Note that
Bootstrap.sh
is not found in the same location. For the self-created .NET 5 lambda image, the file is instead invar/runtime/Bootstrap.sh
, as seen below:As mentioned above, creating a .NET 6 equivalent image will have a similar structure.
Is this difference intended? I can imagine that this does have an implication on the usage of the images.
The text was updated successfully, but these errors were encountered: