Ubuntu with Ruby, Chrome and other tools to run a Rails app.
961
You will find this useful if you need a Docker container to run your Rails application in. It includes things like headless Chrome browser, to support Rails 5 system/integration testing.
In your own Dockerfile, inhering from this image like so:
FROM klevo/docker-ubuntu-ruby-chrome
# Then you can do something like:
WORKDIR /tmp
COPY Gemfile Gemfile
COPY Gemfile.lock Gemfile.lock
RUN bundle install
# When launching the container, mount your build/dev directory to /app
WORKDIR /app
The above will provide you with an image that will only need to be rebuild if your Gemfile changes, giving you fast builds in a CI scenario for example.
Content type
Image
Digest
Size
474.3 MB
Last updated
about 8 years ago
docker pull klevo/docker-ubuntu-ruby-chrome