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:40:59 UTC

[couchdb] 01/04: Minimal devcontainer.json configuration

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 89d9123d77dbda46522d0826c55a6f77137138d8
Author: Adam <ko...@apache.org>
AuthorDate: Sat Jan 16 16:11:19 2021 -0500

    Minimal devcontainer.json configuration
    
    This container is sufficient to build CouchDB 3.x from source using
    
      ./configure --dev --spidermonkey-version 60
    
    and run the full test suite to completion.
---
 .devcontainer/Dockerfile        | 7 +++++++
 .devcontainer/devcontainer.json | 8 ++++++++
 2 files changed, 15 insertions(+)

diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
new file mode 100644
index 0000000..e3332e0
--- /dev/null
+++ b/.devcontainer/Dockerfile
@@ -0,0 +1,7 @@
+# Based on erlang:22
+FROM elixir:1.10
+
+RUN apt-get update -y && apt-get install -y \
+        libmozjs-60-dev \
+        libicu-dev \
+        python3-venv
\ No newline at end of file
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
new file mode 100644
index 0000000..d38d437
--- /dev/null
+++ b/.devcontainer/devcontainer.json
@@ -0,0 +1,8 @@
+{
+    "build": {
+        "dockerfile": "Dockerfile"
+    },
+    "extensions": [
+        "erlang-ls.erlang-ls"
+    ]
+}
\ No newline at end of file