FROM ruby:2.7-alpine MAINTAINER u2i RUN apk add --no-cache dumb-init bash git make gcc libc-dev sqlite sqlite-dev sqlite-libs tzdata WORKDIR /code ADD Gemfile ns_settings_ui.gemspec ./ ADD lib/ns_settings_ui/version.rb lib/ns_settings_ui/ RUN gem install bundler RUN bundle install ADD Appraisals ./ COPY gemfiles gemfiles RUN bundle exec appraisal install COPY . . ENTRYPOINT ["/usr/bin/dumb-init", "--"]