anchor.diff:  # limitations under the License.
   
   # Build as DOCKER_BUILDKIT=1 docker build -o /tmp/out .
  +# or DOCKER_BUILDKIT=1 docker build -o /tmp/out . --target=buster
   # Generated tarball(s) will end up in /tmp/out
   
  -FROM debian:buster AS buster
  +FROM debian:buster AS buster-build
   
   # TODO: Factor out the common code without rerunning apt-get on every build.
   
  
positive.code: WORKDIR /work
  RUN ./pkg/deb/build.sh
  
  FROM debian:stretch AS stretch
  
  # TODO: Factor out the common code without rerunning apt-get on every build.
  
  
negative.code: WORKDIR /work
  RUN ./pkg/rpm/build.sh
  
  FROM scratch AS buster
  COPY --from=buster-build /tmp/google-cloud-ops-agent.tgz /google-cloud-ops-agent-debian-buster.tgz
  COPY --from=buster-build /google-cloud-ops-agent*.deb /
  
  FROM scratch AS stretch
  COPY --from=stretch-build /tmp/google-cloud-ops-agent.tgz /google-cloud-ops-agent-debian-stretch.tgz
  COPY --from=stretch-build /google-cloud-ops-agent*.deb /
  
  FROM scratch AS hirsute
  COPY --from=hirsute-build /tmp/google-cloud-ops-agent.tgz /google-cloud-ops-agent-ubuntu-hirsute.tgz
  COPY --from=hirsute-build /google-cloud-ops-agent*.deb /
  
  FROM scratch AS focal
  COPY --from=focal-build /tmp/google-cloud-ops-agent.tgz /google-cloud-ops-agent-ubuntu-focal.tgz
  COPY --from=focal-build /google-cloud-ops-agent*.deb /
  
  FROM scratch AS bionic
  COPY --from=bionic-build /tmp/google-cloud-ops-agent.tgz /google-cloud-ops-agent-ubuntu-bionic.tgz
  COPY --from=bionic-build /google-cloud-ops-agent*.deb /
  
  FROM scratch AS xenial
  COPY --from=xenial-build /tmp/google-cloud-ops-agent.tgz /google-cloud-ops-agent-ubuntu-xenial.tgz
  COPY --from=xenial-build /google-cloud-ops-agent*.deb /
  
  FROM scratch AS centos7
  COPY --from=centos7-build /tmp/google-cloud-ops-agent.tgz /google-cloud-ops-agent-centos-7.tgz
  COPY --from=centos7-build /google-cloud-ops-agent*.rpm /
  
  FROM scratch AS centos8
  COPY --from=centos8-build /tmp/google-cloud-ops-agent.tgz /google-cloud-ops-agent-centos-8.tgz
  COPY --from=centos8-build /google-cloud-ops-agent*.rpm /
  
  FROM scratch AS sles12
  COPY --from=sles12-build /tmp/google-cloud-ops-agent.tgz /google-cloud-ops-agent-sles-12.tgz
  COPY --from=sles12-build /google-cloud-ops-agent*.rpm /
  
  FROM scratch AS sles15
  COPY --from=sles15-build /tmp/google-cloud-ops-agent.tgz /google-cloud-ops-agent-sles-15.tgz
  COPY --from=sles15-build /google-cloud-ops-agent*.rpm /
  
  FROM scratch
  COPY --from=buster /* /
  COPY --from=stretch /* /
  COPY --from=hirsute /* /
  COPY --from=focal /* /
  COPY --from=bionic /* /
  COPY --from=xenial /* /
  COPY --from=centos7 /* /
  COPY --from=centos8 /* /
  COPY --from=sles12 /* /
  COPY --from=sles15 /* /
  