version: '3.9'
services:
  app:
    image: "epicmorg/crowd:latest"
    build:
      context: .
      args:
        RELEASE: ${RELEASE}
        DOWNLOAD_URL: ${DOWNLOAD_URL}
  app-jdk11:
    image: "epicmorg/crowd:latest-jdk11"
    build:
      context: .
      dockerfile: Dockerfile.jdk11
      args:
        RELEASE: ${RELEASE}
        DOWNLOAD_URL: ${DOWNLOAD_URL}
#  app-jdk17:
#    image: "epicmorg/crowd:latest-jdk17"
#    build:
#      context: .
#      dockerfile: Dockerfile.jdk17
#      args:
#        RELEASE: ${RELEASE}
#        DOWNLOAD_URL: ${DOWNLOAD_URL}
#