fix(image): apparently fakechroot does not work well on aarch64-linux

This commit is contained in:
technofab 2024-05-07 01:03:00 +02:00
parent 058e2f73e8
commit be75e2cc00

View file

@ -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"];