Sha256: 9c504caa7a1e8ee123e085726c316a03dbcf2532b06a6ec59bee9f7886d63a7a
Contents?: true
Size: 1.15 KB
Versions: 15
Compression:
Stored size: 1.15 KB
Contents
FROM ruby:2.7.2-slim as builder RUN apt update && \ apt install -y --no-install-recommends \ curl \ libpq-dev \ build-essential \ && rm -rf /var/lib/apt/lists/* COPY Gemfile Gemfile.lock ./ RUN bundle config --global jobs 4 && \ bundle config --global set clean 'true' \ bundle config --global git.allow_insecure true && \ bundle config --global without "development test" && \ bundle install # 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 FROM ruby:2.7.2-slim ENV LANG=C.UTF-8 ENV LC_ALL=C.UTF-8 RUN apt update && \ apt install -y --no-install-recommends \ netcat \ libpq5 \ && rm -rf /var/lib/apt/lists/* COPY --from=builder /usr/local/bundle /usr/local/bundle RUN rm -rf /usr/local/bundle/cache RUN rm -rf /usr/local/bundle/build_info RUN rm -rf /usr/local/bundle/doc # COPY --from=builder /kubectl /usr/local/bin/kubectl # RUN chmod +x /usr/local/bin/kubectl WORKDIR /app/rubypitaya/ COPY . . ENTRYPOINT ["./docker/entrypoint.sh"] CMD ["bundle", "exec", "rubypitaya", "run"]
Version data entries
15 entries across 15 versions & 1 rubygems