Merge pull request #87725 from nlewo/fix-dockertools
dockerTools.examples: fix the nginx image
This commit is contained in:
commit
df928fafd4
@ -69,6 +69,12 @@ rec {
|
||||
tag = "latest";
|
||||
contents = pkgs.nginx;
|
||||
|
||||
extraCommands = ''
|
||||
# nginx still tries to read this directory even if error_log
|
||||
# directive is specifying another file :/
|
||||
mkdir -p var/log/nginx
|
||||
mkdir -p var/cache/nginx
|
||||
'';
|
||||
runAsRoot = ''
|
||||
#!${pkgs.stdenv.shell}
|
||||
${shadowSetup}
|
||||
|
Loading…
Reference in New Issue
Block a user