1ARG ELIXIR_VERSION 2FROM elixir:${ELIXIR_VERSION} 3 4# Install SpiderMonkey 60 and tell CouchDB to use it in configure 5ENV SM_VSN=60 6 7# Use NodeSource binaries for Node.js (Fauxton dependency) 8RUN set -ex; \ 9 curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -; \ 10 echo "deb https://deb.nodesource.com/node_10.x buster main" | tee /etc/apt/sources.list.d/nodesource.list; \ 11 echo "deb-src https://deb.nodesource.com/node_10.x buster main" | tee -a /etc/apt/sources.list.d/nodesource.list 12 13RUN set -ex; \ 14 apt-get update; \ 15 apt-get install -y --no-install-recommends \ 16 libmozjs-${SM_VSN}-dev \ 17 libicu-dev \ 18 python3-venv \ 19 python3-pip \ 20 python3-sphinx \ 21 nodejs 22 23# Documentation theme 24RUN pip3 install sphinx_rtd_theme 25