File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
ARG VARIANT="1.17.3-erlang-27.1-debian-bullseye-20240926"
2
- ARG PHOENIX_VERSION="1.7.10"
3
- ARG NODEJS_VERSION="18"
4
2
FROM hexpm/elixir:${VARIANT}
5
3
4
+ ARG PHOENIX_VERSION="1.7.10"
5
+ ARG NODE_VERSION="18"
6
+
6
7
# This Dockerfile adds a non-root user with sudo access. Update the “remoteUser” property in
7
8
# devcontainer.json to use it. More info: https://aka.ms/vscode-remote/containers/non-root-user.
8
9
ARG USERNAME=vscode
@@ -31,10 +32,10 @@ RUN apt-get update \
31
32
&& /bin/bash /tmp/common-setup.sh "${INSTALL_ZSH}" "${USERNAME}" "${USER_UID}" "${USER_GID}" "${UPGRADE_PACKAGES}" \
32
33
#
33
34
# [Optional] Install Node.js for use with web applications
34
- && if [ "${NODEJS_VERSION }" != "none" ]; then \
35
+ && if [ "${NODE_VERSION }" != "none" ]; then \
35
36
curl -sSL ${NODE_SCRIPT_SOURCE} -o /tmp/node-setup.sh \
36
37
&& ([ "${NODE_SCRIPT_SHA}" = "dev-mode" ] || (echo "${NODE_SCRIPT_SHA} */tmp/node-setup.sh" | sha256sum -c -)) \
37
- && /bin/bash /tmp/node-setup.sh "${NVM_DIR}" "${NODEJS_VERSION }" "${USERNAME}" \
38
+ && /bin/bash /tmp/node-setup.sh "${NVM_DIR}" "${NODE_VERSION }" "${USERNAME}" \
38
39
&& npm install -g cspell@latest; \
39
40
fi \
40
41
#
You can’t perform that action at this time.
0 commit comments