anchor.diff:  	update-alternatives --query java | grep -q 'Status: manual'
   
   # see CA_CERTIFICATES_JAVA_VERSION notes above
  -RUN /var/lib/dpkg/info/ca-certificates-java.postinst configure+RUN /var/lib/dpkg/info/ca-certificates-java.postinst configure
  
positive.code: 		mkdir -p /usr/share/man/man1; \
  	fi; \
  	\
  	apt-get -qq -y update; \
  	apt-get -qq -y install \
  		openjdk-8-jre="$JAVA_DEBIAN_VERSION" \
  		ca-certificates-java="$CA_CERTIFICATES_JAVA_VERSION" \
  	; \
  
negative.code: RUN ln -svT "/usr/lib/jvm/java-8-openjdk-$(dpkg --print-architecture)" /docker-java-home
  ENV JAVA_HOME /docker-java-home/jre
  
  ENV JAVA_VERSION 8u162
  ENV JAVA_DEBIAN_VERSION 8u162-b12-1~deb9u1
  
  # see https://bugs.debian.org/775775
  # and https://github.com/docker-library/java/issues/19#issuecomment-70546872
  