anchor.diff:  # ---------------------------------------------------------
   FROM yarn-base as yarn-deps
   
  -RUN --mount=type=cache,target=/usr/local/share/.cache \
  -  --mount=type=cache,target=/root/.cache/Cypress \
  +RUN --mount=type=cache,id=yarndev,target=/usr/local/share/.cache \
  +  --mount=type=cache,id=cypress,sharing=locked,target=/root/.cache/Cypress \
     yarn install --frozen-lockfile --quiet
   
   # ---------------------------------------------------------
  
positive.code: # ---------------------------------------------------------
  FROM yarn-base as yarn-deps-prod
  
  RUN --mount=type=cache,target=/usr/local/share/.cache \
    --mount=type=cache,target=/root/.cache/Cypress \
    yarn install --production --frozen-lockfile --quiet
  
  # ---------------------------------------------------------
  
negative.code: # syntax=docker/dockerfile:1.3
  #              +------------------+
  #              |                  |
  #              |  builder-base    |
  