Skip to content
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

add amazonlinux2 #87

Closed
wants to merge 1 commit into from
Closed

add amazonlinux2 #87

wants to merge 1 commit into from

Conversation

kyeotic
Copy link

@kyeotic kyeotic commented Nov 18, 2020

Ive tested this and it builds and passes the welcome test at the end. I tried to make as minimal changes to the amz1 dockerfile as possible, with one exception: I moved the gcc install/compile above the deno download to reduce the amount that needs to be rebuilt when updating deno versions.

Other notable changes

  • install gzip and tar
  • change libatomic path

motivdated by deno-lambda

@hayd
Copy link
Contributor

hayd commented Nov 20, 2020

Does the vanilla deno executable not "just work" on AL2?
(I was hoping that would be the case.)

@@ -0,0 +1,75 @@
FROM amazonlinux:2.0.20200722.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's annoying that, unlike for Amazon Linux 1, they don't publish the precise AMI.
https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html

(I guess it's not a huge deal, but worth noting.)

@kyeotic
Copy link
Author

kyeotic commented Nov 20, 2020

Does the vanilla deno executable not "just work" on AL2?
(I was hoping that would be the case.)

I feel a bit silly, but I didn't even try that :(

@hayd
Copy link
Contributor

hayd commented Dec 16, 2020

aside: I am going to delete amazonlinux1 soon (edit: it's deleted).

@hayd
Copy link
Contributor

hayd commented Jan 22, 2021

This was wanted more for deno-lambda rather than anyone wanting an amazonlinux2 docker image...
but happy to reconsider if I am wrong!

@hayd hayd closed this Jan 22, 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.

None yet

2 participants