Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/koenpunt/docker-ruby-node
https://github.com/koenpunt/docker-ruby-node
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/koenpunt/docker-ruby-node
- Owner: koenpunt
- License: mit
- Created: 2023-05-03T10:04:45.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-06T21:54:09.000Z (4 months ago)
- Last Synced: 2024-07-06T22:34:15.723Z (4 months ago)
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/koen/ruby-node
- Size: 103 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ruby + Node Docker Image
Docker image with Ruby and Node.js with Yarn installed and ready to roll.
Both Ruby and Node.js are based on official images.
Currently available combinations:
- Ruby: 3.2 & 3.3 Node: 18.x & 20.x
## Supported tags
- `latest`, `3.2-18`, `3.2-20`, `3.3-20`
- `alpine`, `3.2-18-alpine`, `3.2-20-alpine`, `3.3-20-alpine`## Why Node.js and Ruby together?
Some applications, like Jekyll, GitHub pages or Rails with Webpacker, requires both Ruby and Node.js
installed in the same image in order to run or fully function. This image do not install any other packages than both other images do.## Differences with official Ruby and Node.js images?
Ruby: Same as official.
Node: Instead variables NODE_VERSION and YARN_VERSION is available variable NODE_MAJOR fullfiled with major version of node.js. Node is not executed on by CMD.
## How to use this image
```
$ docker run -v "$PWD":/usr/src/app -p "8080:8080" koen/ruby-node
```## Image Variants
The `koen/ruby-node` images come in three flavors, each designed for a
specific use case.`koen/ruby-node:latest`
This is the defacto image. If you are unsure about what your needs are, you
probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of.
Based on Debian distribution.`koen/ruby-node:alpine`
This is the smalles image possible. It is based on the Alpine Linux base image.
## License
This Docker image is licensed under the [MIT License](https://github.com/koenpunt/docker-ruby-node/blob/master/LICENSE).
Software contained in this image is licensed under the following:
- Ruby: [GPLv2](https://github.com/ruby/ruby/blob/trunk/GPL)
- Node.js: [MIT License](https://github.com/nodejs/node/blob/master/LICENSE)## User Feedback
### Documentation
- [Docker](http://docs.docker.com)
- [Ruby](https://www.ruby-lang.org/en/)
- [Node.js](https://nodejs.org/en/)### Issues
If you have any problems with or questions about this image, please contact us
through a [GitHub issue](https://github.com/koenpunt/docker-ruby-node/issues).### Contributing
You are invited to contribute new features, fixes, or updates, large or small;
we are always thrilled to receive pull requests, and do our best to process them
as fast as we can.Before you start to code, we recommend discussing your plans through a [GitHub
issue](https://github.com/koenpunt/docker-ruby-node/issues), especially for
more ambitious contributions. This gives other contributors a chance to point
you in the right direction, give you feedback on your design, and help you find
out if someone else is working on the same thing.### Collaborators
Individuals making significant and valuable contributions are made Collaborators
and given commit-access to the project. These individuals are identified by the
existing Collaborators and their addition as Collaborators is discussed as a
pull request to this project's README.md.Note: If you make a significant contribution and are not considered for
commit-access log an issue or contact one of the Collaborators directly.- Radovan Šmitala - @radeno
- Hans Kristian Flaatten - @Starefossen