Is there one equivalent of Google's JIB or BuildPacks for Node.JS ?

634 views
Skip to first unread message

Luis Trigueiros

unread,
May 4, 2020, 1:43:16 PM5/4/20
to Jib users

Is there one equivalent of Google's JIB or BuildPacks for Node.JS ?

It is my understanding that JIB allows to build OCI container images from within the project's build tool like Gradle or Maven, as a developer we only have to include a plugin into the build and are able to package up the application into a container and having JIB implement all the best practices of packing up a Java application into container with no questions asked.

I have search around but have not found something equivalent for the Node.JS ecosystem. It should be possible just into a node developer time dependency and it take care on packaging up my javascript/typescript Express.js for example app into a docker container or OCI image.

Thank you, Oscar


https://stackoverflow.com/questions/61598311/equivalent-of-googles-jib-for-node-js

Appu Goundan

unread,
May 5, 2020, 10:39:17 AM5/5/20
to Luis Trigueiros, Jib users
Hi Oscar,

Java is an easier problem because it is inherently portable (we can compile on any machine and expect it to work on any other). Node.js has kind of other dependencies (from npm, and locally built native dependencies) that we do not yet know how to handle well in the jib-style builder. You can try to use https://github.com/GoogleContainerTools/jib/tree/master/jib-cli (jib experimental command line builder) and see if you can make it match your needs. If you have the ability to use buildpacks, I believe the cloud foundry team have  builders for node.js at https://paketo.io/


--
You received this message because you are subscribed to the Google Groups "Jib users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jib-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jib-users/38dad7ab-c875-41aa-8d83-efc145cf7c71%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages