Dockerfile to build a ruby base image.
- Currently tracking versions 2.3 and 2.4, 2.5 in Debian and Alpine
- Includes Bundler
- s6 overlay enabled for PID 1 Init capabilities
- zabbix-agent based on 3.4 for individual container monitoring.
- Cron installed along with other tools (bash,curl, less, logrotate, nano, vim) for easier management.
No prequisites required
Automated builds of the image are available on Docker Hub and is the recommended method of installation.
docker pull tiredofit/ruby:(imagetag)
The following image tags are available:
2.3-debian:latest
- Ruby 2.3.x - Debian Linux2.4-debian:latest
- Ruby 2.4.x - Debian Linux2.5-debian:latest
- Ruby 2.5.x - Debian Linux2.3-alpine:latest
- Ruby 2.4.x - Alpine Linux2.4-alpine:latest
- Ruby 2.4.x - Alpine Linux2.5-alpine:latest
- Ruby 2.5.x - Alpine Linuxlatest
- Ruby 2.5.x - Alpine Linux
Utilize this image as a base for further builds. By default it does not start the S6 Overlay system, but Bash. Please visit the s6 overlay repository for instructions on how to enable the S6 Init system when using this base or look at some of my other images which use this as a base.
Along with the Environment Variables from the Base image, below is the complete list of available options that can be used to customize your installation.
No Additional Ports Exposed
For debugging and maintenance purposes you may want access the containers shell.
docker exec -it (whatever your container name is e.g. alpine) bash