Skip to content

Commit

Permalink
fix(base): reset LD_PRELOAD during installation
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Aug 12, 2024
1 parent a5db2af commit e259ccb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion features/src/base/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
1 change: 1 addition & 0 deletions features/src/base/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.'
Expand Down

0 comments on commit e259ccb

Please sign in to comment.