mirror of
https://gitlab.com/TECHNOFAB/coder-templates.git
synced 2025-12-12 02:00:11 +01:00
fix(image): apparently fakechroot does not work well on aarch64-linux
This commit is contained in:
parent
058e2f73e8
commit
be75e2cc00
1 changed files with 2 additions and 3 deletions
|
|
@ -35,10 +35,9 @@ pkgs.dockerTools.buildLayeredImage {
|
|||
uid = 1000;
|
||||
gid = 1000;
|
||||
fakeRootCommands = ''
|
||||
mkdir -p /home/coder /tmp /nix/var/nix
|
||||
chown -R 1000:1000 /
|
||||
mkdir -p ./home/coder ./tmp ./nix/var/nix
|
||||
chown -R 1000:1000 ./
|
||||
'';
|
||||
enableFakechroot = true;
|
||||
|
||||
config = {
|
||||
Cmd = ["/bin/bash"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue