Fix authentik container: create /tmp for unprivileged user
buildLayeredImage doesn't create /tmp by default. The container runs as user 65534 (nobody) which can't mkdir /tmp at runtime. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
098f3e517c
commit
2ac353b7bf
1 changed files with 2 additions and 2 deletions
|
|
@ -57,8 +57,8 @@ pkgs.dockerTools.buildLayeredImage {
|
|||
# authentik-django hardcodes blueprints_dir to $out/blueprints; the AUTHENTIK_BLUEPRINTS_DIR
|
||||
# env var overrides it to /blueprints, where custom blueprints are mounted by k8s ConfigMap.
|
||||
extraCommands = ''
|
||||
mkdir -p blueprints
|
||||
chmod 777 blueprints
|
||||
mkdir -p blueprints tmp
|
||||
chmod 777 blueprints tmp
|
||||
'';
|
||||
|
||||
config = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue