From e259ccbe1d7547b3aaef99bc75d2d86b4a76cebb Mon Sep 17 00:00:00 2001 From: Volodymyr Kolesnykov Date: Mon, 12 Aug 2024 12:30:58 +0300 Subject: [PATCH] fix(base): reset `LD_PRELOAD` during installation --- features/src/base/devcontainer-feature.json | 2 +- features/src/base/install.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/features/src/base/devcontainer-feature.json b/features/src/base/devcontainer-feature.json index 13644004..0e07fd03 100644 --- a/features/src/base/devcontainer-feature.json +++ b/features/src/base/devcontainer-feature.json @@ -1,7 +1,7 @@ { "id": "base", "name": "VIP Codespaces Base", - "version": "1.2.1", + "version": "1.2.2", "description": "Base feature for VIP Codespaces", "containerEnv": { "PAGER": "/usr/bin/less -R", diff --git a/features/src/base/install.sh b/features/src/base/install.sh index 2e8069ff..4b5935ff 100755 --- a/features/src/base/install.sh +++ b/features/src/base/install.sh @@ -3,6 +3,7 @@ set -e PATH=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin +export LD_PRELOAD= if [ "$(id -u || true)" -ne 0 ]; then echo 'Script must be run as root. Use sudo, su, or add "USER root" to your Dockerfile before running this script.'