You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2021/01/18 00:41:01 UTC

[couchdb] 03/04: Add commentary to explain dependencies to new users

This is an automated email from the ASF dual-hosted git repository.

kocolosk pushed a commit to branch 3.x-devcontainer
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 700d3cfce6a6dd43a763605b306e2fde8c62ae12
Author: Adam <ko...@apache.org>
AuthorDate: Sat Jan 16 21:13:25 2021 -0500

    Add commentary to explain dependencies to new users
---
 .devcontainer/Dockerfile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index c7df3d4..da4ea62 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -1,11 +1,13 @@
-# Based on erlang:22
+# Based on erlang:22 (we need elixir for the test suite)
 FROM elixir:1.10
 
+# Use NodeSource binaries for Node.js (Fauxton dependency)
 RUN set -ex; \
     curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -; \
     echo "deb https://deb.nodesource.com/node_10.x buster main" | tee /etc/apt/sources.list.d/nodesource.list; \
     echo "deb-src https://deb.nodesource.com/node_10.x buster main" | tee -a /etc/apt/sources.list.d/nodesource.list
 
+# Using SM 60 here so be sure to set --spidermonkey-version 60 in configure
 RUN set -ex; \
     apt-get update; \
     apt-get install -y --no-install-recommends \
@@ -16,4 +18,5 @@ RUN set -ex; \
         python3-sphinx \
         nodejs
 
+# Documentation theme
 RUN pip3 install sphinx_rtd_theme
\ No newline at end of file