-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Locating the actual Dockerfile instructions #199
Comments
Hey @jforkan! But I'm curious why you want to build your Lambda image from But if you still consider building your image from Check out all the packages included in Amazon Linux 2023 minimal here. I hope this answer helps you build your image to run on Lambda. |
Hi @leandrodamascena, thanks for your reply. The AWS team that produces the official So, I wanted to see if I could peek into the Dockerfile used to create that image and change the base image from Perhaps there's a |
Hi @jforkan! Yes, now I understand better the challenge and I don't know if you can do it because in the file https://github.com/aws/aws-lambda-base-images/blob/ruby3.3/x86_64/41bd69298790635913afaf03b4ed358b68fdb1a16307b0fef634d7d671c6a816.tar.xz they overwrite the You can try to reproduce: 1 - Clone te repository |
Hi @leandrodamascena, thanks for the tip. Now that I've installed lfs I can see the contents of the xz files and this gives me something to work with. |
According to the AWS documentation on this page , I expected to see instructions within the Dockerfile that would indicate how exactly it was built.
Since it is based on AL2023 Minimal, I expected the Dockerfile to start with
FROM amazonlinux:2023-minimal
, with commands to install Ruby, etc. Instead it is based onFROM scratch
and I see there are some included xz files, but I'm having trouble extracting those locally.Can you help point me in the right direction?
Thanks
The text was updated successfully, but these errors were encountered: