Sha256: 0b4db7ddc7564330af47b0e6a3c2c705a6713263654b6ff001e3a5711d71a683

Contents?: true

Size: 611 Bytes

Versions: 3

Compression:

Stored size: 611 Bytes

Contents

FROM darthjee/ruby_gems:0.5.4 as base
FROM darthjee/scripts:0.1.8 as scripts

######################################

FROM base as builder

COPY --chown=app ./ /home/app/app/
COPY --chown=app:app --from=scripts /home/scripts/builder/bundle_builder.sh /usr/local/sbin/

ENV HOME_DIR /home/app
RUN bundle_builder.sh

#######################
#FINAL IMAGE
FROM base
RUN mkdir lib/arstotzka -p

COPY --chown=app:app --from=builder /home/app/bundle/ /usr/local/bundle/

COPY --chown=app ./*.gemspec ./Gemfile /home/app/app/
COPY --chown=app ./lib/arstotzka/version.rb /home/app/app/lib/arstotzka/

RUN bundle install

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
arstotzka-1.6.2 Dockerfile
arstotzka-1.6.1 Dockerfile
arstotzka-1.6.0 Dockerfile