File tree Expand file tree Collapse file tree
src/s-core-devcontainer/.devcontainer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ check_proxy_config() {
2525
2626# Check if builder exists and has correct proxy configuration
2727if docker buildx inspect multiarch & > /dev/null; then
28- # it is an optional rule, enabled via --enable all
2928 # shellcheck disable=SC2310
29+ # it is an optional rule, enabled via --enable all
3030 if ! check_proxy_config; then
3131 echo " Builder 'multiarch' exists but has incorrect proxy configuration. Recreating..."
3232 docker buildx rm multiarch
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ COPY_TARGET="${FEATURES_DIR}/$(basename "${SCRIPT_DIR%%_*}")"
1010cp -R " ${SCRIPT_DIR} " " ${COPY_TARGET} "
1111rm -f " ${COPY_TARGET} /devcontainer-features.env" " ${COPY_TARGET} /devcontainer-features-install.sh"
1212
13- # used by apt-get only inside this script
1413# shellcheck disable=SC2034
14+ # used by apt-get only inside this script
1515DEBIAN_FRONTEND=noninteractive
1616
1717# Read tool versions + metadata into environment variables
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ if [ -f .bazelversion ] && [ "$(cat .bazelversion)" != "${INSTALLED_BAZEL_VERSIO
1313 bash=" bash"
1414 fi
1515
16- # $bash might be empty and then an empty string is passed to the command, which will fail
1716 # shellcheck disable=SC2248
17+ # without quotes is intentional: $bash might be empty and then an empty string is passed to the command, which will fail
1818 bazel help completion ${bash} > /tmp/bazel-complete.bash
1919 sudo mv /tmp/bazel-complete.bash /etc/bash_completion.d/bazel-complete.bash
2020 echo " INSTALLED_BAZEL_VERSION=${USE_BAZEL_VERSION} " | sudo tee /devcontainer/features/bazel/bazel_setup.sh
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ COPY_TARGET="${FEATURES_DIR}/$(basename "${SCRIPT_DIR%%_*}")"
1010cp -R " ${SCRIPT_DIR} " " ${COPY_TARGET} "
1111rm -f " ${COPY_TARGET} /devcontainer-features.env" " ${COPY_TARGET} /devcontainer-features-install.sh"
1212
13- # used by apt-get only inside this script
1413# shellcheck disable=SC2034
14+ # used by apt-get only inside this script
1515DEBIAN_FRONTEND=noninteractive
1616
1717# Read tool versions + metadata into environment variables
You can’t perform that action at this time.
0 commit comments