anchor.diff:  
   # install Rundeck via launcher
   # check newest version: http://rundeck.org/downloads.html
  -ENV RDECK_BASE=/opt/rundeck
  -ENV RDECK_JAR=${RDECK_BASE}/rundeck-launcher.jar
  -ENV PATH=${PATH}:${RDECK_BASE}/tools/bin
  -ENV MANPATH=${MANPATH}:${RDECK_BASE}/docs/man
  -ENV RDECK_ADMIN_PASS=rdtest2017
   RUN mkdir -p ${RDECK_BASE} && \
     mkdir ${RDECK_BASE}/libext && \
     curl -SLo ${RDECK_JAR} http://dl.bintray.com/rundeck/rundeck-maven/rundeck-launcher-2.10.2.jar
  
positive.code: # combining stuff from:
  # https://github.com/colebrumley/docker-rundeck
  # https://github.com/William-Yeh/docker-ansible
  
  # install Ansible
  # check newest version: https://pypi.python.org/pypi/ansible
  
negative.code: COPY build/libs/ansible-plugin-*.jar ${RDECK_BASE}/libext/
  
  # create project
  RUN mkdir -p ${PROJECT_BASE}/acls && \
    mkdir -p ${PROJECT_BASE}/etc
  COPY docker/project.properties ${PROJECT_BASE}/etc/
  
  CMD /run.sh
  