Skip to content

Commit 42a21fc

Browse files
committed
ace validator: Remove extra environment variables
These environment variables are no longer mandated by the spec per appc#273. It makes sense to remove them from the validator.
1 parent 7f02c81 commit 42a21fc

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

ace/validator.go

-7
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ Changes to the validator need to be reflected in app_manifest.json, and vice-ver
2626
The App Container Execution spec defines the following expectations within the execution environment:
2727
- Working Directory defaults to the root of the application image, overridden with "workingDirectory"
2828
- PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
29-
- USER, LOGNAME username of the user executing this app
30-
- HOME home directory of the user
31-
- SHELL login shell of the user
3229
- AC_APP_NAME the entrypoint that this process was defined from
3330
3431
In addition, we validate:
@@ -81,10 +78,6 @@ var (
8178
// "Environment"
8279
env = map[string]string{
8380
"IN_ACE_VALIDATOR": "correct",
84-
"HOME": "/root",
85-
"USER": "root",
86-
"LOGNAME": "root",
87-
"SHELL": "/bin/sh",
8881
}
8982
// "MountPoints"
9083
mps = map[string]types.MountPoint{

0 commit comments

Comments
 (0)