• Stars
    star
    143
  • Rank 257,007 (Top 6 %)
  • Language
    Shell
  • License
    MIT License
  • Created over 10 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Docker Official Image packaging for Ruby on Rails

DEPRECATED

This image is officially deprecated in favor of the standard ruby image, and will receive no further updates after 2016-12-31 (Dec 31, 2016). Please adjust your usage accordingly.

For most usages of this image, it was already not bringing in rails from this image, but actually from your project's Gemfile, so the only "value" being added here was the pre-installing of nodejs, mysql-client, postgresql-client, and sqlite3 for various uses of the rails framework.

For example, a Dockerfile similar to the following would be a good starting point for a Rails project using PostgreSQL:

FROM ruby:2.3

RUN apt-get update \
	&& apt-get install -y --no-install-recommends \
		postgresql-client \
	&& rm -rf /var/lib/apt/lists/*

WORKDIR /usr/src/app
COPY Gemfile* ./
RUN bundle install
COPY . .

EXPOSE 3000
CMD ["rails", "server", "-b", "0.0.0.0"]

About this Repo

This is the Git repo of the Docker official image for rails. See the Docker Hub page for the full readme on how to use this Docker image and for information regarding contributing and issues.

The full readme is generated over in docker-library/docs, specifically in docker-library/docs/rails.

See a change merged here that doesn't show up on the Docker Hub yet? Check the "library/rails" manifest file in the docker-library/official-images repo, especially PRs with the "library/rails" label on that repo. For more information about the official images process, see the docker-library/official-images readme.


More Repositories

1

official-images

Primary source of truth for the Docker "Official Images" program
Shell
6,394
star
2

docs

Documentation for Docker Official Images in docker-library
Shell
5,045
star
3

php

Docker Official Image packaging for PHP
Shell
3,796
star
4

python

Docker Official Image packaging for Python
Dockerfile
2,526
star
5

mysql

Docker Official Image packaging for MySQL Community Server
Shell
2,465
star
6

postgres

Docker Official Image packaging for Postgres
Shell
2,155
star
7

wordpress

Docker Official Image packaging for WordPress
Shell
1,765
star
8

golang

Docker Official Image packaging for golang
Shell
1,471
star
9

openjdk

Docker Official Image packaging for EA builds of OpenJDK from Oracle
Shell
1,142
star
10

docker

Docker Official Image packaging for Docker
Shell
1,120
star
11

mongo

Docker Official Image packaging for MongoDB
Shell
1,025
star
12

rabbitmq

Docker Official Image packaging for RabbitMQ
Dockerfile
779
star
13

ghost

Docker Official Image packaging for Ghost
Dockerfile
719
star
14

healthcheck

https://github.com/docker/docker/issues/21142 prototypes
Shell
660
star
15

tomcat

Docker Official Image packaging for Apache Tomcat
Dockerfile
619
star
16

ruby

Docker Official Image packaging for Ruby
Shell
577
star
17

repo-info

Extended information (especially license and layer details) about the published Official Images
Perl
547
star
18

hello-world

Shell
511
star
19

elasticsearch

DEPRECATED; https://github.com/docker-library/official-images/pull/15808
Shell
486
star
20

buildpack-deps

Shell
442
star
21

busybox

Docker Official Image packaging for Busybox
Dockerfile
388
star
22

haproxy

Docker Official Image packaging for HAProxy
Shell
348
star
23

httpd

Docker Official Image packaging for Apache HTTP Server
Dockerfile
309
star
24

drupal

Docker Official Image packaging for Drupal
Shell
275
star
25

cassandra

Docker Official Image packaging for Cassandra
Shell
262
star
26

redmine

Docker Official Image packaging for Redmine
Shell
207
star
27

gcc

Docker Official Image packaging for gcc
Shell
156
star
28

memcached

Docker Official Image packaging for memcached
Shell
130
star
29

django

Docker Official Image packaging for django
Shell
129
star
30

bashbrew

Canonical build tool for the official images
Go
119
star
31

faq

Frequently Asked Questions
116
star
32

logstash

DEPRECATED; https://github.com/docker-library/official-images/pull/15808
Shell
107
star
33

kibana

DEPRECATED; https://github.com/docker-library/official-images/pull/15808
Shell
106
star
34

oi-janky-groovy

Jenkins Pipeline and Job DSL scripts for Official Images Jenkins jobs
Groovy
104
star
35

owncloud

Docker Official Image packaging for ownCloud
Dockerfile
102
star
36

julia

Docker Official Image packaging for julia
Shell
89
star
37

pypy

Docker Official Image packaging for pypy
Dockerfile
69
star
38

dockerfile-validator

An experimental attempt to catch simple Dockerfile mistakes
Shell
56
star
39

percona

DEPRECATED Docker Official Image packaging for Percona Server, new repo:
Shell
51
star
40

celery

Docker Official Image packaging for Celery
Shell
30
star
41

go-dockerlibrary

DEPRECATED: this repository has become part of https://github.com/docker-library/bashbrew!
Go
21
star
42

perl-bashbrew

Perl-based support libraries/tools for the Bashbrew official-images tool
Perl
9
star
43

meta-scripts

Scripts to generate metadata (source IDs, build IDs)
Go
6
star
44

commit-warehouse

Obsolete via https://github.com/docker-library/bashbrew/pull/4 + https://github.com/docker-library/bashbrew/pull/12!
Shell
4
star
45

meta

https://github.com/docker-library/meta-scripts
2
star