use layered image so that we don't need kvm
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jeffrey C. Ollie 2022-05-27 21:22:42 -05:00
parent 2bcd499ebb
commit 13ad91f72e

View file

@ -35,7 +35,7 @@
}; };
in in
{ {
packages.${system}.default = pkgs.dockerTools.buildImage packages.${system}.default = pkgs.dockerTools.buildLayeredImage
{ {
name = "radarr"; name = "radarr";
tag = "latest"; tag = "latest";
@ -43,10 +43,9 @@
pkgs.cacert pkgs.cacert
pkgs.coreutils-full pkgs.coreutils-full
pkgs.bash pkgs.bash
pkgs.radarr
pkgs.util-linux pkgs.util-linux
]; ];
runAsRoot = '' fakeRootCommands = ''
mkdir /config mkdir /config
mkdir /media mkdir /media
chown 5000:5000 /config chown 5000:5000 /config