It would be nice if it were possible to use Amazon Linux as the base image for parity with Elastic Beanstalk and other AWS systems.
Using Ubuntu in CI and Amazon Linux for the deployment can create unexpected errors due to minor differences in the environments unless using a docker image deployment.
We do have a set of Amazon Linux images specifically for use with Elastic Beanstalk that are not listed in the AWS console:
https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html
Please let us know if these don't meet your application's needs.
Will take a look! Thanks. Are they available anywhere for local dev?
No, those Dockerfiles are not open sourced
For security/stability reasons I need binary parity with AWS Lambda too. No problems pulling the source RPMs if I knew where they were at. Things like glibc/openssl break with security patches routinely.
AL2 is now supported. https://github.com/aws/aws-codebuild-docker-images/releases/tag/1.12.0.
Most helpful comment
For security/stability reasons I need binary parity with AWS Lambda too. No problems pulling the source RPMs if I knew where they were at. Things like glibc/openssl break with security patches routinely.