services:
  openj9-build:
    build:
      context: .
      dockerfile: Dockerfile.openj9
      target: build
    command: sh -c 'rsync -ivr /build/dist/* /build/host'
    volumes:
      - "./openj9-dist:/build/host"
  openj9-run:
    image: git.dc09.ru/darkcat09/openj9
    build:
      context: .
      dockerfile: Dockerfile.openj9
      target: run