anchor.diff:  # Determines source "edge" or binary "release" builds
   ARG build_type=edge
  +ARG UBUNTU_CODENAME=bionic
   
   ######################################################
   # base
  
positive.code: FROM base as release
  
  ARG version
  
  RUN wget https://apt.puppetlabs.com/puppet6-release-"$UBUNTU_CODENAME".deb && \
      dpkg -i puppet6-release-"$UBUNTU_CODENAME".deb && \
      rm puppet6-release-"$UBUNTU_CODENAME".deb && \
      apt-get update && \
      apt-get install --no-install-recommends -y puppetdb="$version"-1"$UBUNTU_CODENAME" && \
      apt-get clean && \
      rm -rf /var/lib/apt/lists/* && \
  # We want to use the HOCON database.conf and config.conf files, so get rid
  
negative.code: 
  COPY --from=build /puppetdb.deb /puppetdb.deb
  
  ARG UBUNTU_CODENAME
  ARG install_path=/puppetdb.deb
  
  ADD http://nightlies.puppet.com/apt/puppet6-nightly-release-$UBUNTU_CODENAME.deb /puppet.deb
  
  RUN dpkg -i /puppet.deb && \
      rm /puppet.deb && \
      apt-get update && \
      apt-get install --no-install-recommends -y $install_path && \
      apt-get clean && \
      rm -rf /var/lib/apt/lists/* && \
      mkdir -p /opt/puppetlabs/server/data/puppetdb/logs && \
  