services:
  base:
    init: true
    build:
      context: .
      dockerfile: base.dockerfile
  service:
    init: true
    build:
      context: .
      additional_contexts:
        base: "service:base"
      dockerfile: service.dockerfile
