diff --git a/charts/octopod/templates/octopod-deployment.yaml b/charts/octopod/templates/octopod-deployment.yaml index c64609f..3b7912a 100644 --- a/charts/octopod/templates/octopod-deployment.yaml +++ b/charts/octopod/templates/octopod-deployment.yaml @@ -51,7 +51,10 @@ spec: command: - sh - -c - - 'cp -a /www/* /copy/' + - | + set -ex + cp -a /www/* /copy/ + find /www -type f -exec touch {} + volumeMounts: - name: www mountPath: /copy diff --git a/nix/default.nix b/nix/default.nix index 7bc5949..7b9b1f5 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -29,6 +29,7 @@ with { gnugrep cacert' shadow + findutils ]; runAsRoot = ''