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

Could this be a 2 step docker build #56

Open
chmac opened this issue Aug 30, 2022 · 3 comments
Open

Could this be a 2 step docker build #56

chmac opened this issue Aug 30, 2022 · 3 comments

Comments

@chmac
Copy link

chmac commented Aug 30, 2022

I recently started using 2 step docker builds for node based stuff. This way I have node, npm, and all the dependencies installed in my build container, but my final container only contains the code + node itself.

Anyway, I'm not really sure about the details of how elixir works. But I suspect that some of the stuff required for the build process isn't then required for the running container. My first question then, is that true?

If it is, would you be open to a PR which switches the docker file to use a 2 step approach? I can't promise I can make it work, or that I will submit a PR at all, but before I tried I wanted to check.

@coreagile
Copy link

This would be lovely.

@toastie89
Copy link

What about installing the OTP release instead of building the software?

@toastie89
Copy link

I've started to play with the OTP release here and will update if it works out.

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

No branches or pull requests

3 participants