diff options
author | lewo <lewo@abesis.fr> | 2020-05-15 16:54:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-15 16:54:09 +0200 |
commit | df928fafd47a6a6f446322d6e1545a71bb965fc6 (patch) | |
tree | 82f7513c09d0ba8ed2e426b711922c9006a761c3 /pkgs/build-support/docker | |
parent | 7ac738273dc7f112c80c7faa9638d7494cc88338 (diff) | |
parent | 9ac444d80ecbb9d6f4df685b405d7fd71ed9a92c (diff) |
Merge pull request #87725 from nlewo/fix-dockertools
dockerTools.examples: fix the nginx image
Diffstat (limited to 'pkgs/build-support/docker')
-rw-r--r-- | pkgs/build-support/docker/examples.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/build-support/docker/examples.nix b/pkgs/build-support/docker/examples.nix index c6cf595da103..d533e3abd03b 100644 --- a/pkgs/build-support/docker/examples.nix +++ b/pkgs/build-support/docker/examples.nix @@ -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} |