| 1234567891011121314151617181920212223242526272829303132333435363738 | FROM docker.io/alpine:3.11 as downloadRUN apk add --no-cache gitUSER nobody# 0.2.200 (update Makefile)ARG MONITOR_VERSION=1deec402b9b6323a964381819b199300259bb584RUN git clone https://github.com/andrewjfreyer/monitor /tmp/monitorWORKDIR /tmp/monitorRUN git checkout $MONITOR_VERSION \    && rm -rf .git .gitignore# workaround for broken multi-stage copy# > failed to copy files: failed to copy directory: Error processing tar file(exit status 1): Container ID ... cannot be mapped to a host IDUSER 0RUN chown -R 0:0 . \    && chmod a+rX -R -c .FROM docker.io/alpine:3.11RUN apk add --no-cache \        bash \        bluez-btmon \        bluez-deprecated `# hcidump` \        coreutils `# timeout busybox implementation incompatible` \        curl `# support/data https://api.macvendors.com/` \        gawk `# in verbose mode:  %*x formats are not supported` \        mosquitto-clients \        tini \    && 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`ENTRYPOINT ["/sbin/tini", "--"]VOLUME /monitor-configCOPY --from=download /tmp/monitor /monitorRUN chmod a+rwxt /monitor `# mkfifo main_pipe|log_pipe|packet_pipe`# still using rwxt on $CONFIG_DIR_PATH to support arbitrary uidsUSER nobody# > line 1986: main_pipe: No such file or directoryWORKDIR /monitorCMD ["bash", "monitor.sh", "-D", "/monitor-config", "-V"]
 |