anchor.diff:  LABEL version="6.10.6"
   LABEL "uk.co.saidsef.bamboo"="${REF}"
   
  +ENV BAMBOO_HOME /data
   ENV BB_PKG_NAME atlassian-bamboo-${BAMBOO_VERSION:-7.0.3}
   ENV PATH /opt/$BB_PKG_NAME/bin:$PATH
   ENV HOME /tmp
  
positive.code: USER root
  
  # Define working directory.
  WORKDIR /data
  
  # Install wget and Download Bamboo
  RUN apk add --update --no-cache wget bash && \
      echo $BB_PKG_NAME && \
      wget https://www.atlassian.com/software/bamboo/downloads/binary/$BB_PKG_NAME.tar.gz && \
      tar xvzf $BB_PKG_NAME.tar.gz && \
  
negative.code: RUN chmod a+rwx /opt/$BB_PKG_NAME/WEB-INF/classes/bamboo-init.properties && \
      chmod a+rwx /opt/$BB_PKG_NAME/bamboo-init.properties
  
  # Define mountable directories
  VOLUME ["/data"]
  
  