Skip to content

Ruby 1.8.7 (2013-06-27 MBARI 8/0x6770 on patchlevel 374) [x86_64-linux], MBARI 0x6770, Ruby Enterprise Edition 2012.02 on docker.

Notifications You must be signed in to change notification settings

stefanpenner/docker-ruby-ree

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Ruby Enterprise Edition

  • It's based upon a trusted build here.
  • This build is in-turn based upon the phusion-baseimage 0.9.9 image
  • The additional apt-packages are the same as those present on the buildpacks:jessie repo, to give us a fighting changce of installing gems.

Cool, but what's it for?

Some of our older apps are currently in production on REE. This is the first step to getting them onto a densely-utilised fleet of docker hosts.

Add the following Dockerfile in the root of any legacy project to get started. The next steps will be about serving traffic (via unicorn, etc) and logging to STDOUT / STDERR.

FROM everydayhero/ruby-ree
MAINTAINER Dan Sowter "daniels@everydayhero.com.au"

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
ADD Gemfile /usr/src/app/
ADD Gemfile.lock /usr/src/app/
RUN bundle install

ADD . /usr/src/app

CMD ["/bin/bash"]

Using this image just for deploys (via capistrano)? Don't forget to give the container access to your host's SSH agent.

docker run -rm -t -i -v $(dirname $SSH_AUTH_SOCK):$(dirname $SSH_AUTH_SOCK) -e SSH_AUTH_SOCK=$SSH_AUTH_SOCK everydayhero/ruby-ree /bin/bash

About

Ruby 1.8.7 (2013-06-27 MBARI 8/0x6770 on patchlevel 374) [x86_64-linux], MBARI 0x6770, Ruby Enterprise Edition 2012.02 on docker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published