-
Notifications
You must be signed in to change notification settings - Fork 104
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 multi-stage docker image for alpine without glibc #5
Comments
Not exactly sure how this is related, but I am running a multi-stage build by running |
@webdeb An example like that would be really nice for the README, I think that's a better option that running bundle locally (on potentially another deno version) then using that file 👍 |
@hayd sure! Please feel free to include it, I just copied what I have locally in my project (just updated it according to the new release):
|
@webdeb Why use Trying to "improve" my Dockerfile though both of those produce the same error, which I not get running the server using The
Thoug I've no idea what to do, probably opening a new issue @ denoland/deno right? |
@CanRau Oh your are right. I guess by that time the |
Huh, just found denoland/deno#12086 and it's "duplicate" denoland/deno#12477 @webdeb I'm not directly using |
You have to first build gn using ubuntu then build deno with gn in alpine.
This should be possible, and I have some progress towards it... (failing) attempt: Dockerfile.
failure output
This may also be useful for automating creating of binaries suitable for AWS Lambda (or similar). The tricky part is to not rely on glibc...This is complete.Note/Aside: Current size is 62Mb (18.1Mb compressed).
See also denoland/deno#1456
and https://dev.to/kt3k/write-aws-lambda-function-in-deno-4b20.xpost: denoland/deno#3243
The text was updated successfully, but these errors were encountered: