Sha256: 674b7dab1a032c6369b8f633ef286d09b3374cae8d376cde2f5fec1f7a2adca7

Contents?: true

Size: 772 Bytes

Versions: 5

Compression:

Stored size: 772 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 "izolenta-test"'

RUN  gem install bundler

COPY lib/izolenta/version.rb /app/lib/izolenta/version.rb
COPY izolenta.gemspec /app/
COPY Gemfil* /app/
#
RUN bundle install

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
izolenta-0.0.6 Dockerfile
izolenta-0.0.5 Dockerfile
izolenta-0.0.4 Dockerfile
izolenta-0.0.3 Dockerfile
izolenta-0.0.2 Dockerfile