Sha256: 886bc6ac8ab22e5b1ed9bf1de928113fe060a803d6a872bbf601c82ba403aef4
Contents?: true
Size: 986 Bytes
Versions: 20
Compression:
Stored size: 986 Bytes
Contents
FROM ruby:2.6.6 as builder WORKDIR /app/rubypitaya/ COPY Gemfile Gemfile.lock ./ RUN bundle install --without development COPY . . FROM ruby:2.6.6-slim RUN apt update && apt install -y postgresql-client curl python3 bash vim --no-install-recommends RUN rm -rf /var/lib/apt/lists/* RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl RUN chmod +x ./kubectl RUN mv ./kubectl /usr/local/bin COPY --from=builder /usr/local/etc /usr/local/etc COPY --from=builder /usr/local/bundle /usr/local/bundle COPY --from=builder /usr/local/bin/ruby /usr/local/bin/ruby COPY --from=builder /usr/local/lib/ruby/gems/2.6.0 /usr/local/lib/ruby/gems/2.6.0 COPY --from=builder /app/rubypitaya /app/rubypitaya WORKDIR /app/rubypitaya/ RUN rm -rf vendor/ ENV LANG=C.UTF-8 ENV LC_ALL=C.UTF-8 ENTRYPOINT ["./docker/entrypoint.sh"] CMD ["bundle", "exec", "rubypitaya", "run"]
Version data entries
20 entries across 20 versions & 1 rubygems