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

Seth Fitzsimmons notifications at github.com
Mon Oct 31 21:19:47 UTC 2016

mojodna commented on this pull request.

> +
+# Setup app location
+RUN mkdir -p /app
+# Install gems
+ADD Gemfile /app/Gemfile
+ADD Gemfile.lock /app/Gemfile.lock
+RUN bundle install
+RUN sed -i -e 's/# en_GB.UTF-8 UTF-8/en_GB.UTF-8 UTF-8/' /etc/locale.gen && \
+    echo 'LANG="en_GB.UTF-8"'>/etc/default/locale && \
+    dpkg-reconfigure --frontend=noninteractive locales && \
+    update-locale LANG=en_GB.UTF-8

(Changes to files `COPY`'d or `ADD`ed into an image invalidate those layers (and subsequent ones), similar to `make`.)

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

More information about the rails-dev mailing list