move env inside conifg

This commit is contained in:
nyxerinys 2026-06-29 11:15:02 -05:00
parent e1021536ea
commit 8ac88d5816
2 changed files with 6 additions and 6 deletions

View file

@ -156,11 +156,11 @@ pkgs.dockerTools.buildLayeredImage {
mkdir -p /home/dev/.ssh mkdir -p /home/dev/.ssh
chown -R 1000:1000 /home/dev chown -R 1000:1000 /home/dev
''; '';
Env = [
"PATH=/bin"
];
config = { config = {
Entrypoint = [ "/bin/entrypoint" ]; Entrypoint = [ "/bin/entrypoint" ];
Cmd = [ "/bin/rsshfs" "rsshfs" "/" "/containers/tmp" ]; Cmd = [ "/bin/rsshfs" "rsshfs" "/" "/containers/tmp" ];
Env = [
"PATH=/bin"
];
}; };
} }

View file

@ -76,12 +76,12 @@ pkgs.dockerTools.buildLayeredImage {
mkdir -p /containers mkdir -p /containers
chown -R 1000:1000 /containers chown -R 1000:1000 /containers
''; '';
Env = [
"PATH=/bin"
];
config = { config = {
Entrypoint = [ "/bin/entrypoint" ]; Entrypoint = [ "/bin/entrypoint" ];
Cmd = [ "tail" "-f" "/dev/null" ]; Cmd = [ "tail" "-f" "/dev/null" ];
ExposedPorts = { "2222/tcp" = {}; }; ExposedPorts = { "2222/tcp" = {}; };
Env = [
"PATH=/bin"
];
}; };
} }