Sha256: 50c66bed78f70e0ed618b2836e7bb103c5314fdd6815f013aa70a3b912d448f2

Contents?: true

Size: 807 Bytes

Versions: 5

Compression:

Stored size: 807 Bytes

Contents

FROM ruby:3.0.3-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

5 entries across 5 versions & 1 rubygems

Version Path
rails_sql_prettifier-6.1.5 Dockerfile_30
rails_sql_prettifier-6.0.6 Dockerfile_30
rails_sql_prettifier-5.0.5 Dockerfile_30
rails_sql_prettifier-6.0.5 Dockerfile_30
rails_sql_prettifier-6.1.4 Dockerfile_30