Sha256: f64d10848b63ebb604518660d55ac685c277106c7312775c128470ea2a06bac9
Contents?: true
Size: 806 Bytes
Versions: 14
Compression:
Stored size: 806 Bytes
Contents
FROM ruby:2.7.5-bullseye WORKDIR /app RUN apt-get update && apt-get -y install lsb-release # RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \ sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' && \ apt-get update && apt-get -y install postgresql postgresql-client-12 RUN sh -c 'echo "local all all trust" > /etc/postgresql/14/main/pg_hba.conf' && \ service postgresql start && \ psql -U postgres -c 'CREATE DATABASE "niceql-test"' RUN gem install bundler COPY lib/rails_sql_prettifier/version.rb /app/lib/rails_sql_prettifier/version.rb COPY rails_sql_prettifier.gemspec /app/ COPY Gemfil* /app/ # RUN bundle install
Version data entries
14 entries across 14 versions & 1 rubygems