Public Repository

Last pushed: 8 months ago
Short Description
Ruby 4.0 Postgresql 9.4 image for testing on bitbucket pipelines
Full Description

Dockerfile:

FROM ruby:2.4.0
RUN apt-get update \
  && apt-get install -y postgresql postgresql-contrib nodejs npm sudo\
  && ln -s /usr/bin/nodejs /usr/bin/node \
  && npm install -g phantomjs-prebuilt \
  && apt-get clean \
  && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
  && sed -i -e's/\(all\s*\)peer/\1md5/' /etc/postgresql/9.4/main/pg_hba.conf
RUN sudo -u postgres /etc/init.d/postgresql start \
  && sudo -u postgres psql --command "CREATE USER bitbucket WITH SUPERUSER PASSWORD 'bitbucket';" \
  && sudo -u postgres createdb -O bitbucket bitbucket
Docker Pull Command
Owner
sdavies