We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c82f709 + 723b44a commit ae858cfCopy full SHA for ae858cf
image/my_init
@@ -75,6 +75,8 @@ def import_envvars(clear_existing_environment = True, override_existing_environm
75
def export_envvars(to_dir = True):
76
shell_dump = ""
77
for name, value in os.environ.items():
78
+ if name in ['HOME', 'USER', 'GROUP', 'UID', 'GID', 'SHELL']:
79
+ continue
80
if to_dir:
81
with open("/etc/container_environment/" + name, "w") as f:
82
f.write(value)
0 commit comments