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:00 UTC
[couchdb] 02/04: Add dependencies for Fauxton and documentation
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 f9c13e42ce1f0789d7253223f76149f6fcaf02d8
Author: Adam <ko...@apache.org>
AuthorDate: Sat Jan 16 20:02:35 2021 -0500
Add dependencies for Fauxton and documentation
---
.devcontainer/Dockerfile | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index e3332e0..c7df3d4 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -1,7 +1,19 @@
# Based on erlang:22
FROM elixir:1.10
-RUN apt-get update -y && apt-get install -y \
+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
+
+RUN set -ex; \
+ apt-get update; \
+ apt-get install -y --no-install-recommends \
libmozjs-60-dev \
libicu-dev \
- python3-venv
\ No newline at end of file
+ python3-venv \
+ python3-pip \
+ python3-sphinx \
+ nodejs
+
+RUN pip3 install sphinx_rtd_theme
\ No newline at end of file