Sha256: bc337e52fcb8bee9a047b8a7b932401945fe00c708a4046163031d7b153acdc9

Contents?: true

Size: 768 Bytes

Versions: 1

Compression:

Stored size: 768 Bytes

Contents

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

1 entries across 1 versions & 1 rubygems

Version Path
izolenta-0.0.6 ruby3.Dockerfile