summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <kocolosk@apache.org>2021-01-16 16:11:19 -0500
committerAdam <kocolosk@apache.org>2021-01-16 16:11:19 -0500
commit89d9123d77dbda46522d0826c55a6f77137138d8 (patch)
tree44ae8602381ade7c25e9dcd47a996016975adf57
parent92318242b9bc5ec4c273a9be5e8c03080e4d780a (diff)
downloadcouchdb-89d9123d77dbda46522d0826c55a6f77137138d8.tar.gz
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.
-rw-r--r--.devcontainer/Dockerfile7
-rw-r--r--.devcontainer/devcontainer.json8
2 files changed, 15 insertions, 0 deletions
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
new file mode 100644
index 000000000..e3332e0f5
--- /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 000000000..d38d43741
--- /dev/null
+++ b/.devcontainer/devcontainer.json
@@ -0,0 +1,8 @@
+{
+ "build": {
+ "dockerfile": "Dockerfile"
+ },
+ "extensions": [
+ "erlang-ls.erlang-ls"
+ ]
+} \ No newline at end of file