Skip to content

Commit

Permalink
Merge pull request #327 from Automattic/update-base
Browse files Browse the repository at this point in the history
fix(base): reset `LD_PRELOAD` during installation
  • Loading branch information
sjinks authored Aug 12, 2024
2 parents 55d04f0 + e259ccb commit 1678172
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 1678172

Please sign in to comment.