[openstreetmap/openstreetmap-website] Enable the app to be built using Docker (#1290)

Paul Sturgess notifications at github.com
Sat Sep 17 11:22:50 UTC 2016


paulsturgess commented on this pull request.



> +ENV REFRESHED_AT 2016-09-15
+
+# Install packages
+RUN apt-get update && apt-get install -y --no-install-recommends \
+  build-essential \
+  ruby-dev \
+  libgdbm-dev \
+  libncurses5-dev \
+  libffi-dev \
+  libyaml-dev \
+  libreadline-dev \
+  libpq-dev \
+  libxml2-dev \
+  imagemagick \
+  libmagickwand-dev \
+  postgresql-client \

OK I tried removing it and when running the migrations it bails out because it can't execute:
`pg_dump -s -x -O -f /app/db/structure.sql openstreetmap`

This is run because of the setting in `application.rb`:
`config.active_record.schema_format = :sql`

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1290
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20160917/e1146154/attachment-0001.html>


More information about the rails-dev mailing list