Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit d8cdfa2

Browse files
Fix Node script SHA256 sum check (#1174)
The checksum verification is comparing the node-debian.sh to the common-debian.sh checksum, which fails if the `COMMON_SCRIPT_SHA` environment variable is set. This fixes the issue, comparing the node-debian.sh checksum to the `NODE_SCRIPT_SHA` environment variable.
1 parent 19adbac commit d8cdfa2

File tree

1 file changed

+1
-1
lines changed
  • containers/elixir-phoenix-postgres/.devcontainer

1 file changed

+1
-1
lines changed

containers/elixir-phoenix-postgres/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ RUN apt-get update \
3939
# [Optional] Install Node.js for use with web applications
4040
&& if [ "$NODE_VERSION" != "none" ]; then \
4141
curl -sSL ${NODE_SCRIPT_SOURCE} -o /tmp/node-setup.sh \
42-
&& ([ "${NODE_SCRIPT_SHA}" = "dev-mode" ] || (echo "${COMMON_SCRIPT_SHA} */tmp/node-setup.sh" | sha256sum -c -)) \
42+
&& ([ "${NODE_SCRIPT_SHA}" = "dev-mode" ] || (echo "${NODE_SCRIPT_SHA} */tmp/node-setup.sh" | sha256sum -c -)) \
4343
&& /bin/bash /tmp/node-setup.sh "${NVM_DIR}" "${NODE_VERSION}" "${USERNAME}"; \
4444
fi \
4545
#

0 commit comments

Comments
 (0)