anchor.diff:   
   RUN apt-get update
   
  -RUN DEBIAN_FRONTEND=noninteractive apt-get install -y wget less curl git nmap socat netcat tree htop unzip sudo
  +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y wget less curl git nmap socat netcat tree htop \
  +    unzip sudo python-software-properties
   
   ENV KOHA_ADMINUSER admin
   ENV KOHA_ADMINPASS secret
  
positive.code: COPY ./pillar/koha/admin.sls.example /srv/pillar/koha/admin.sls
  
  ADD ./salt/common/init.sls /srv/salt/common/init.sls
  RUN salt-call --local state.sls common
  
  ADD ./salt/koha/watir.sls /srv/salt/koha/watir.sls
  RUN salt-call --local state.sls koha.watir
  
  ADD ./salt/koha/init.sls /srv/salt/koha/init.sls 
  RUN salt-call --local state.sls koha
  
  # Need mysql server to create initial db
  ADD ./salt/mysql/server.sls /srv/salt/mysql/server.sls
  RUN salt-call --local state.sls mysql.server
  
  # Koha common settings
  ADD ./salt/koha/common.sls /srv/salt/koha/common.sls
  ADD ./salt/koha/files/koha-common.cnf /srv/salt/koha/files/koha-common.cnf
  ADD ./salt/koha/files/koha-conf.xml.tmpl /srv/salt/koha/files/koha-conf.xml.tmpl
  ADD ./salt/koha/files/zebra.passwd.tmpl /srv/salt/koha/files/zebra.passwd.tmpl
  RUN salt-call --local state.sls koha.common
  
  # Koha-restful API
  ADD ./salt/koha/restful.sls /srv/salt/koha/restful.sls
  ADD ./salt/koha/restful-config.sls /srv/salt/koha/restful-config.sls
  ADD ./salt/koha/files/koha-restful-config.yaml /srv/salt/koha/files/koha-restful-config.yaml
  RUN salt-call --local state.sls koha.restful
  
  #######
  # Salt Provisioning - step 2
  
negative.code: # Apache settings
  ADD ./salt/koha/apache2.sls /srv/salt/koha/apache2.sls
  ADD ./salt/koha/files/apache.tmpl /srv/salt/koha/files/apache.tmpl
  #RUN salt-call --local --retcode-passthrough state.sls koha.apache2
  
  # Koha instance settings
  ADD ./salt/koha/sites-config.sls /srv/salt/koha/sites-config.sls
  ADD ./salt/koha/files/koha-sites.conf /srv/salt/koha/files/koha-sites.conf
  ADD ./salt/koha/files/passwd /srv/salt/koha/files/passwd
  #RUN salt-call --local --retcode-passthrough state.sls koha.sites-config
  
  # Koha DB settings
  ADD ./salt/koha/createdb.sls /srv/salt/koha/createdb.sls
  ADD ./salt/koha/config.sls /srv/salt/koha/config.sls
  #RUN salt-call --local --retcode-passthrough state.sls koha.config
  
  # Koha automated webinstaller
  ADD ./salt/koha/webinstaller.sls /srv/salt/koha/webinstaller.sls
  