https://github.com/docker-library/rails
Docker Official Image packaging for Ruby on Rails
https://github.com/docker-library/rails
Last synced: 9 months ago
JSON representation
Docker Official Image packaging for Ruby on Rails
- Host: GitHub
- URL: https://github.com/docker-library/rails
- Owner: docker-library
- License: mit
- Archived: true
- Created: 2014-05-20T21:54:39.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2017-03-08T17:45:10.000Z (over 9 years ago)
- Last Synced: 2024-09-25T01:33:05.874Z (over 1 year ago)
- Language: Shell
- Homepage: http://rubyonrails.org
- Size: 24.4 KB
- Stars: 143
- Watchers: 22
- Forks: 53
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DEPRECATED
This image is officially deprecated in favor of [the standard `ruby` image](https://hub.docker.com/_/ruby/), 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:
```dockerfile
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](https://docs.docker.com/docker-hub/official_repos/) for [rails](https://registry.hub.docker.com/_/rails/). See [the Docker Hub page](https://registry.hub.docker.com/_/rails/) 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](https://github.com/docker-library/docs), specifically in [docker-library/docs/rails](https://github.com/docker-library/docs/tree/master/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](https://github.com/docker-library/official-images/blob/master/library/rails), especially [PRs with the "library/rails" label on that repo](https://github.com/docker-library/official-images/labels/library%2Frails). For more information about the official images process, see the [docker-library/official-images readme](https://github.com/docker-library/official-images/blob/master/README.md).
---
- [Travis CI:
](https://travis-ci.org/docker-library/rails/branches)