2 Commits 48710a8b97 ... 6b3ee0a8b8

Author SHA1 Message Date
  Fabian Peter Hammerle 6b3ee0a8b8 fix "mkfifo: main_pipe: Permission denied" 2 weeks ago
  Fabian Peter Hammerle 48710a8b97 fix "mkfifo: main_pipe: Permission denied" 2 weeks ago
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Dockerfile

+ 2 - 2
Dockerfile

@@ -21,13 +21,13 @@ RUN apk add --no-cache \
     && find / -xdev -type f -perm /u+s -exec chmod -c u-s {} \; \
     && find / -xdev -type f -perm /g+s -exec chmod -c g-s {} \; \
     && mkdir /monitor-config \
-    && chmod a+rwxt /monitor-config `# .public_name_cache` \
-    && chmod a+rwxt /monitor `# mkfifo main_pipe|log_pipe|packet_pipe`
+    && chmod a+rwxt /monitor-config `# .public_name_cache`
 ENTRYPOINT ["/sbin/tini", "--"]
 VOLUME /monitor-config
 # still using rwxt on $CONFIG_DIR_PATH to support arbitrary uids
 USER nobody
 COPY --from=download /tmp/monitor /monitor
+RUN chmod a+rwxt /monitor `# mkfifo main_pipe|log_pipe|packet_pipe`
 # > line 1986: main_pipe: No such file or directory
 WORKDIR /monitor
 CMD ["bash", "monitor.sh", "-D", "/monitor-config"]