Fix PSQL dep mismatch

pull/1011/head
Rick Carlino 2018-10-15 15:49:09 -05:00
parent 5820025535
commit c0f37c4292
2 changed files with 7 additions and 1 deletions

View File

@ -2389,5 +2389,8 @@ INSERT INTO "schema_migrations" (version) VALUES
('20180829211322'),
('20180910143055'),
('20180920194120'),
('20180925203846'),
('20180926161918'),
('20180925203846');
('20181014231010');

View File

@ -1,4 +1,7 @@
FROM ruby:2.5
# WHY: We need Postgres 10, not the default (9)
RUN wget -q https://www.postgresql.org/media/keys/ACCC4CF8.asc -O - | apt-key add -
RUN sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev \
postgresql postgresql-contrib
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -