Skip to content

Conversation

@jerusdp
Copy link

@jerusdp jerusdp commented Oct 13, 2021

Issue #13
Updated Dockerfile to use AWS Lambda docker from the AWS public ecr repository.

This base offers the following advantages:

  • actively updated by Amazon
  • supports both x86 and arm (Graviton2) processors

Two additional changes in Dockerfile based on recommended best practices

  • set -0 pipefail on curl and build to ensure that there isn't "false success"
  • COPY instead of ADD as we are only copying the files

@zamazan4ik

@zamazan4ik zamazan4ik merged commit 296cb27 into rust-serverless:master Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants