Sha256: aa19b28f489db35f7ba668c08905646448ccd60a915a5082ac2171f903f915e6

Contents?: true

Size: 631 Bytes

Versions: 3

Compression:

Stored size: 631 Bytes

Contents

FROM ruby:2.7-slim

WORKDIR /panoptes-client

RUN apt-get update && apt-get -y upgrade && \
    apt-get install --no-install-recommends -y \
        build-essential \
        # git is required for installing gems from git repos
        git \
        nano \
        vim

ADD ./Gemfile /panoptes-client/
ADD ./panoptes-client.gemspec /panoptes-client/
ADD ./lib/panoptes/client/version.rb /panoptes-client/lib/panoptes/client/
ADD .git/ /panoptes-client/

RUN bundle config --global jobs `cat /proc/cpuinfo | grep processor | wc -l | xargs -I % expr % - 1` && bundle install

ADD ./ /panoptes-client

CMD ["bundle", "exec", "rspec"]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
panoptes-client-1.2.1 Dockerfile
panoptes-client-1.2.0 Dockerfile
panoptes-client-1.1.1 Dockerfile