Update to v0.5.17
Update to v0.5.17
FROM learninglayers/ror
MAINTAINER Jukka Purma <jukka.purma ÄT aalto.fi>

# Doing the bundle install with local files so that its result gets cached.
# If these are not up to date with the github version of achrails, it spells trouble,
# but couldn't get COPY or ADD working with files downloaded from the Dockerfile.  
WORKDIR /tmp
COPY Gemfile Gemfile
COPY Gemfile.lock Gemfile.lock
RUN bundle install

RUN mkdir /achrails

RUN curl -SL https://github.com/learning-layers/achrails/archive/v0.5.16.tar.gz \
    | tar -zxC /achrails --strip-components=1
RUN echo ls
ADD . /achrails
COPY database.yml /achrails/config/database.yml

WORKDIR /achrails
VOLUME /achrails
COPY start-achrails.sh start-achrails.sh

CMD ["bash", "start-achrails.sh"]

FROM learninglayers/ror
MAINTAINER Jukka Purma <jukka.purma ÄT aalto.fi>

# Doing the bundle install with local files so that its result gets cached.
# If these are not up to date with the github version of achrails, it spells trouble,
# but couldn't get COPY or ADD working with files downloaded from the Dockerfile.  
WORKDIR /tmp
COPY Gemfile Gemfile
COPY Gemfile.lock Gemfile.lock
RUN bundle install

RUN mkdir /achrails

RUN curl -SL https://github.com/learning-layers/achrails/archive/v0.5.17.tar.gz \
    | tar -zxC /achrails --strip-components=1
RUN echo ls
ADD . /achrails
COPY database.yml /achrails/config/database.yml

WORKDIR /achrails
VOLUME /achrails
COPY start-achrails.sh start-achrails.sh

CMD ["bash", "start-achrails.sh"]
