diff --git a/src/common-utils/devcontainer-feature.json b/src/common-utils/devcontainer-feature.json index 82ddde046..14850232d 100644 --- a/src/common-utils/devcontainer-feature.json +++ b/src/common-utils/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "common-utils", - "version": "2.5.3", + "version": "2.5.4", "name": "Common Utilities", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/common-utils", "description": "Installs a set of common command line utilities, Oh My Zsh!, and sets up a non-root user.", diff --git a/src/common-utils/main.sh b/src/common-utils/main.sh index abef18430..68abe58c8 100644 --- a/src/common-utils/main.sh +++ b/src/common-utils/main.sh @@ -558,7 +558,7 @@ if [ "${INSTALL_ZSH}" = "true" ]; then # Add devcontainer .zshrc template if [ "$INSTALL_OH_MY_ZSH_CONFIG" = "true" ]; then if ! [ -f "${template_path}" ] || ! grep -qF "$(head -n 1 "${template_path}")" "${user_rc_file}"; then - echo -e "$(cat "${template_path}")\nDISABLE_AUTO_UPDATE=true\nDISABLE_UPDATE_PROMPT=true" > ${user_rc_file} + echo -e "$(cat "${template_path}")\nzstyle ':omz:update' mode disabled" > ${user_rc_file} fi sed -i -e 's/ZSH_THEME=.*/ZSH_THEME="devcontainers"/g' ${user_rc_file} fi diff --git a/test/common-utils/buster.sh b/test/common-utils/buster.sh deleted file mode 100755 index 9fd2f409f..000000000 --- a/test/common-utils/buster.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -set -e - -# Optional: Import test library -source dev-container-features-test-lib - -# Definition specific tests -. /etc/os-release -check "non-root user" test "$(whoami)" = "devcontainer" -check "distro" test "${VERSION_CODENAME}" = "buster" - -# Report result -reportResults \ No newline at end of file diff --git a/test/common-utils/scenarios.json b/test/common-utils/scenarios.json index 5a8ec87cd..ee138ca22 100644 --- a/test/common-utils/scenarios.json +++ b/test/common-utils/scenarios.json @@ -13,13 +13,6 @@ "common-utils": {} } }, - "buster": { - "image": "debian:buster", - "remoteUser": "devcontainer", - "features": { - "common-utils": {} - } - }, "bullseye": { "image": "debian:bullseye", "remoteUser": "devcontainer",