anchor.diff:  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 /tmp/google-cloud-ops-agent.tgz /google-cloud-ops-agent-debian-buster.tgz
  -COPY --from=buster /google-cloud-ops-agent*.deb /
  -
  -COPY --from=stretch /tmp/google-cloud-ops-agent.tgz /google-cloud-ops-agent-debian-stretch.tgz
  -COPY --from=stretch /google-cloud-ops-agent*.deb /
  -
  -COPY --from=hirsute /tmp/google-cloud-ops-agent.tgz /google-cloud-ops-agent-ubuntu-hirsute.tgz
  -COPY --from=hirsute /google-cloud-ops-agent*.deb /
  -
  -COPY --from=focal /tmp/google-cloud-ops-agent.tgz /google-cloud-ops-agent-ubuntu-focal.tgz
  -COPY --from=focal /google-cloud-ops-agent*.deb /
  -
  -COPY --from=bionic /tmp/google-cloud-ops-agent.tgz /google-cloud-ops-agent-ubuntu-bionic.tgz
  -COPY --from=bionic /google-cloud-ops-agent*.deb /
  -
  -COPY --from=xenial /tmp/google-cloud-ops-agent.tgz /google-cloud-ops-agent-ubuntu-xenial.tgz
  -COPY --from=xenial /google-cloud-ops-agent*.deb /
  -
  -COPY --from=centos7 /tmp/google-cloud-ops-agent.tgz /google-cloud-ops-agent-centos-7.tgz
  -COPY --from=centos7 /google-cloud-ops-agent*.rpm /
  -
  -COPY --from=centos8 /tmp/google-cloud-ops-agent.tgz /google-cloud-ops-agent-centos-8.tgz
  -COPY --from=centos8 /google-cloud-ops-agent*.rpm /
  -
  -COPY --from=sles12 /tmp/google-cloud-ops-agent.tgz /google-cloud-ops-agent-sles-12.tgz
  -COPY --from=sles12 /google-cloud-ops-agent*.rpm /
  -
  -COPY --from=sles15 /tmp/google-cloud-ops-agent.tgz /google-cloud-ops-agent-sles-15.tgz
  -COPY --from=sles15 /google-cloud-ops-agent*.rpm /
  +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 /* /
  
positive.code: WORKDIR /work
  RUN ./pkg/deb/build.sh
  
  FROM ubuntu:bionic AS bionic
  
  RUN set -x; apt-get update && \
      DEBIAN_FRONTEND=noninteractive apt-get -y install git systemd \
  
negative.code: WORKDIR /work
  RUN ./pkg/rpm/build.sh
  
  FROM opensuse/leap:15.1 AS sles15-build
  
  RUN set -x; zypper -n install git systemd autoconf automake flex libtool libcurl-devel libopenssl-devel libyajl-devel gcc gcc-c++ zlib-devel rpm-build expect cmake systemd-devel systemd-rpm-macros java-1_8_0-openjdk-devel \
  # Add home:ptrommler:formal repo to install >3.4 bison
  