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

zeit/pkg does not seem very active. nexe/nexe or Docker could be alternatives #385

Open
jfhenon opened this issue Sep 29, 2019 · 6 comments
Labels
Milestone

Comments

@jfhenon
Copy link
Collaborator

jfhenon commented Sep 29, 2019

No description provided.

@jfhenon jfhenon added this to the future milestone Sep 29, 2019
@jfhenon jfhenon changed the title zeit/pkg does not seem very active. nexe/nexe seems to be the alternative zeit/pkg does not seem very active. nexe/nexe or Docker could be alternatives Apr 26, 2020
@jfhenon
Copy link
Collaborator Author

jfhenon commented Apr 26, 2020

Docker would be a complete new approach. It would make easier installation and updates (assuming Docker is already installed...). This would need an image file for instances with no access to internet.

@kukukk
Copy link
Contributor

kukukk commented Apr 26, 2020

It is easy to write a Dockerfile to create an image with OIBus inside it. And we could use docker save to save the image to an archive, transfer it to the production machine and load it with docker load.

https://docs.docker.com/engine/reference/commandline/save/
https://docs.docker.com/engine/reference/commandline/load/

@jfhenon
Copy link
Collaborator Author

jfhenon commented Apr 26, 2020

In fact, if the oibus server has no access to internet, the installation of docker itself is not very easy. Anyway, for now, pkg as a Windows service is working and simple so we have no reason to spend time on this now.

@jfhenon
Copy link
Collaborator Author

jfhenon commented Jun 4, 2020

Urgent to wait ! Platforms such as Deno including natively bundling may push Nodejs to evolve into that direction as well.

@marouanehassanioptimistik
Copy link
Contributor

let's migrate to deno!

@burgerni10
Copy link
Collaborator

pkg is now deprecated. I've switched to this fork which support node20.

We should probably move from pkg to Single executable applications when the feature is ready in NodeJS ecosystem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants