mirror of
https://gitlab.com/TECHNOFAB/coder-templates.git
synced 2025-12-12 02:00:11 +01:00
chore: add /etc/os-release for coder stat to work
This commit is contained in:
parent
1392cb7d0c
commit
7da286dcfe
2 changed files with 33 additions and 0 deletions
|
|
@ -25,6 +25,9 @@ pkgs.dockerTools.buildLayeredImage {
|
|||
(writeTextDir "etc/nix/nix.conf" ''
|
||||
experimental-features = nix-command flakes
|
||||
'')
|
||||
(writeTextDir "etc/os-release" ''
|
||||
ID=nixos
|
||||
'')
|
||||
(writeTextDir "etc/passwd" "coder:x:1000:1000::/home/coder:/bin/bash")
|
||||
(writeTextDir "etc/shadow" "coder:!:::::::")
|
||||
(writeTextDir "etc/group" "coder:x:1000:")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue