[openstreetmap/openstreetmap-website] Enable the app to be built using Docker (#1290)
notifications at github.com
Mon Oct 31 21:19:11 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
+ENV LANG en_GB.UTF-8
(For those new to Docker, each Docker "command" creates a filesystem layer. Filesystem layers are (typically) cached, allowing changes to later parts of the process to skip installation steps that were already taken care of (that were also defined earlier in the `Dockerfile`).)
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...
More information about the rails-dev