[openstreetmap/openstreetmap-website] Enable the app to be built using Docker (#1290)
Seth Fitzsimmons
notifications at github.com
Mon Oct 31 21:02:57 UTC 2016
mojodna commented on this pull request.
> +
+# Setup app location
+RUN mkdir -p /app
+WORKDIR /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
Can the `sed` command by bypassed by setting this before packages are installed? Reconfiguring locales isn't fast, so doing that earlier would make it quicker to iterate when using this for development purposes.
--
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#pullrequestreview-6524799
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20161031/202756fd/attachment-0001.html>
More information about the rails-dev
mailing list