Fix Kingfisher container: add /tmp directory
Kingfisher needs a writable temp directory for git clones and scanning. Nix containers don't create /tmp by default. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
b01afb1c1d
commit
c494b62713
1 changed files with 5 additions and 0 deletions
|
|
@ -105,11 +105,16 @@ pkgs.dockerTools.buildLayeredImage {
|
||||||
pkgs.tzdata
|
pkgs.tzdata
|
||||||
];
|
];
|
||||||
|
|
||||||
|
extraCommands = ''
|
||||||
|
mkdir -p tmp
|
||||||
|
'';
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
Entrypoint = [ "${kingfisher}/bin/kingfisher" ];
|
Entrypoint = [ "${kingfisher}/bin/kingfisher" ];
|
||||||
Env = [
|
Env = [
|
||||||
"SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
|
"SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
|
||||||
"TZDIR=${pkgs.tzdata}/share/zoneinfo"
|
"TZDIR=${pkgs.tzdata}/share/zoneinfo"
|
||||||
|
"TMPDIR=/tmp"
|
||||||
];
|
];
|
||||||
User = "65534";
|
User = "65534";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue