anchor.diff:      PUPPERWARE_ANALYTICS_APP_NAME="puppetserver" \
       PUPPERWARE_ANALYTICS_ENABLED=false \
       DUMB_INIT_VERSION="1.2.1" \
  -    UBUNTU_CODENAME="bionic" \
       PUPPETSERVER_JAVA_ARGS="-Xms512m -Xmx512m" \
       PATH=/opt/puppetlabs/server/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:$PATH \
       SSLDIR=/etc/puppetlabs/puppet/ssl \
  
positive.code: ARG build_type=edge
  
  ######################################################
  # base
  
negative.code: FROM base as release
  
  ARG version
  ARG UBUNTU_CODENAME
  ARG install_path=puppetserver="$version"-1"$UBUNTU_CODENAME"
  
  ADD https://apt.puppetlabs.com/puppet6-release-$UBUNTU_CODENAME.deb /puppet.deb
  
  # hadolint ignore=DL3008,DL3028
  RUN dpkg -i /puppet.deb && \
      rm /puppet.deb && \
      apt-get update && \
      apt-get install --no-install-recommends -y $install_path puppetdb-termini && \
      apt-get clean && \
      rm -rf /var/lib/apt/lists/* && \
      gem install --no-rdoc --no-ri r10k && \
  