New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile for easier multi-version testing #38

Merged
merged 1 commit into from Dec 9, 2015
Jump to file or symbol
Failed to load files and symbols.
+21 −0
Diff settings

Always

Just for now

View
@@ -0,0 +1,8 @@
FROM ruby:2.2.0
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev
RUN gem install bundler
RUN mkdir /stretchy
WORKDIR /stretchy
ADD . /stretchy
RUN bundle install
View
@@ -0,0 +1,13 @@
elastic:
image: elasticsearch:1.7
web:
build: .
command: bundle exec rake
environment:
ELASTICSEARCH_URL: 'elastic:9200'
volumes:
- .:/stretchy
ports:
- "3000:3000"
links:
- elastic
ProTip! Use n and p to navigate between commits in a pull request.