anchor.diff: +# syntax=docker/dockerfile:1.2
   #
   # Build Audit Stack for iRODS Monitoring via Audit Plugin
   #
  
positive.code: SHELL [ "/bin/bash", "-c" ]
  
  # not-logstash script and init script
  COPY not-logstash/not-logstash.py /var/lib/irods-elk/bin/not-logstash
  COPY not-logstash/not-logstash.init /etc/init.d/not-logstash
  RUN chmod +x /var/lib/irods-elk/bin/not-logstash \
               /etc/init.d/not-logstash
  
  WORKDIR /var/lib/irods-elk
  
  COPY startup-script.sh /var/lib/irods-elk/startup-script.sh
  RUN chmod +x /var/lib/irods-elk/startup-script.sh
  ENTRYPOINT ["/var/lib/irods-elk/startup-script.sh"]
  
negative.code: 
  # Kibana init script and config files
  COPY --chown=root:kibana kibana/kibana.yml /etc/kibana/kibana.yml
  COPY --chmod=755 kibana/kibana.init /etc/init.d/kibana
  
  # Initialize Elasticsearch and Kibana
  SHELL [ "/bin/bash", "-x", "-c" ]
  