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

Commit 8019070

Browse files
authored
Fix typo in condition (is = instead of != like other definitions) (#993)
1 parent 82bb9dd commit 8019070

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

containers/go/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM mcr.microsoft.com/vscode/devcontainers/go:0-${VARIANT}
44

55
# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10
66
ARG NODE_VERSION="none"
7-
RUN if [ "${NODE_VERSION}" = "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
7+
RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
88

99
# [Optional] Uncomment this section to install additional OS packages.
1010
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \

containers/java/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN if [ "${INSTALL_MAVEN}" = "true" ]; then su vscode -c "umask 0002 && . /usr/
1313

1414
# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10
1515
ARG NODE_VERSION="none"
16-
RUN if [ "${NODE_VERSION}" = "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
16+
RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
1717

1818
# [Optional] Uncomment this section to install additional OS packages.
1919
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \

containers/python-3-postgres/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN if [ "$USER_GID" != "1000" ] || [ "$USER_UID" != "1000" ]; then groupmod --g
1111

1212
# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10
1313
ARG NODE_VERSION="none"
14-
RUN if [ "${NODE_VERSION}" = "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
14+
RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
1515

1616
# [Optional] If your requirements rarely change, uncomment this section to add them to the image.
1717
# COPY requirements.txt /tmp/pip-tmp/

0 commit comments

Comments
 (0)