Allow apt-get update to accept release info changes dynamically (#3611)

* Fix workspace APT compatibility with Ubuntu PPAs by supporting ReleaseInfo change (backward-compatible)

* Allow apt-get update to accept release info changes dynamically

* Fix: Correct condition to set APT_GET_UPDATE_OPTIONS in Dockerfile

- Fixed the condition that sets the APT_GET_UPDATE_OPTIONS variable based on the WORKSPACE_ALLOW_RELEASE_INFO_CHANGE environment variable.
- Ensured proper syntax for condition evaluation to correctly pass the empty string when false.

* Fix variable name

* Set default value of WORKSPACE_ALLOW_RELEASE_INFO_CHANGE as false
This commit is contained in:
Masud Zaman
2025-08-05 09:36:46 +06:00
committed by GitHub
parent 20dade55ef
commit 12576819b7
3 changed files with 18 additions and 7 deletions

View File

@@ -108,6 +108,7 @@ SHELL_OH_MY_ZSH_ALIASES=false
### WORKSPACE #############################################
WORKSPACE_BASE_IMAGE_TAG_PREFIX=latest
WORKSPACE_ALLOW_RELEASE_INFO_CHANGE=false
WORKSPACE_COMPOSER_GLOBAL_INSTALL=true
WORKSPACE_COMPOSER_VERSION=2
WORKSPACE_COMPOSER_AUTH_JSON=false