[openstreetmap/openstreetmap-website] Add Docker Compose Support (#2406)
mmd
notifications at github.com
Mon Oct 21 20:14:15 UTC 2019
mmd-osm commented on this pull request.
> +
+# fixes dpkg man page softlink error while installing postgresql-client [source: https://stackoverflow.com/a/52655008/5350059]
+RUN mkdir -p /usr/share/man/man1 && \
+ mkdir -p /usr/share/man/man7
+
+# npm is not available in Debian repo so following official instruction [source: https://github.com/nodesource/distributions/blob/master/README.md#debinstall]
+RUN curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh && \
+ bash nodesource_setup.sh && \
+ rm -f nodesource_setup.sh
+
+# install packages
+RUN apt-get update && \
+ apt-get install --no-install-recommends -y \
+ build-essential \
+ curl \
+ imagemagick \
I wonder why imagemagick is still in the list. GPX preview image generation was moved to gd2-ffij earlier this year, and I'm not aware of other parts of the website depending on imagemagick.
> + mkdir -p /usr/share/man/man7
+
+# npm is not available in Debian repo so following official instruction [source: https://github.com/nodesource/distributions/blob/master/README.md#debinstall]
+RUN curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh && \
+ bash nodesource_setup.sh && \
+ rm -f nodesource_setup.sh
+
+# install packages
+RUN apt-get update && \
+ apt-get install --no-install-recommends -y \
+ build-essential \
+ curl \
+ imagemagick \
+ libarchive-dev \
+ libffi-dev \
+ libmagickwand-dev \
This one should also be reviewed, not sure it is still needed.
--
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/2406#pullrequestreview-304819631
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20191021/5215e841/attachment.html>
More information about the rails-dev
mailing list