Explorar o código

Changes owner of logs to root on every container start

chaptergy %!s(int64=4) %!d(string=hai) anos
pai
achega
fbae107c04
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      docker/rootfs/etc/cont-init.d/01_perms.sh

+ 4 - 0
docker/rootfs/etc/cont-init.d/01_perms.sh

@@ -0,0 +1,4 @@
+#!/usr/bin/with-contenv bash
+
+mkdir -p /data/logs
+chown -R root:root /data/logs