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 01:15:33 UTC

[couchdb] branch 3.x-devcontainer updated (d6cc979 -> 9120ba2)

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

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


 discard d6cc979  Parameterize the elixir version
     new 9120ba2  Parameterize the elixir version

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (d6cc979)
            \
             N -- N -- N   refs/heads/3.x-devcontainer (9120ba2)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .devcontainer/Dockerfile        | 2 +-
 .devcontainer/devcontainer.json | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


[couchdb] 01/01: Parameterize the elixir version

Posted by ko...@apache.org.
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 9120ba21efafc0e1fc08028a280719d6bfc58af5
Author: Adam <ko...@apache.org>
AuthorDate: Sun Jan 17 19:36:06 2021 -0500

    Parameterize the elixir version
---
 .devcontainer/Dockerfile        |  6 +++---
 .devcontainer/devcontainer.json | 15 +++++++++++++--
 2 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index da4ea62..6394908 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -1,5 +1,5 @@
-# Based on erlang:22 (we need elixir for the test suite)
-FROM elixir:1.10
+ARG ELIXIR_VERSION
+FROM elixir:${ELIXIR_VERSION}
 
 # Use NodeSource binaries for Node.js (Fauxton dependency)
 RUN set -ex; \
@@ -19,4 +19,4 @@ RUN set -ex; \
         nodejs
 
 # Documentation theme
-RUN pip3 install sphinx_rtd_theme
\ No newline at end of file
+RUN pip3 install sphinx_rtd_theme
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index d38d437..666f9fa 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -1,8 +1,19 @@
 {
     "build": {
-        "dockerfile": "Dockerfile"
+        "dockerfile": "Dockerfile",
+        "args": {
+            // Useful choices include:
+            // 1.11 -> Erlang 23, Debian Buster
+            // 1.10 -> Erlang 22, Debian Buster
+            // 1.9  -> Erlang 22, Debian Buster
+            //
+            // Older versions based on Debian Stretch will not include
+            // SpiderMonkey 60, which the Dockerfile expects to be able
+            // to install via apt-get.
+            "ELIXIR_VERSION": "1.10"
+        }
     },
     "extensions": [
         "erlang-ls.erlang-ls"
     ]
-}
\ No newline at end of file
+}