services: mysql-build: image: "mysql:${MYSQL_VERSION}" profiles: ["build"] build: context: "build-context" dockerfile: Dockerfile args: MYSQL_VERSION: "${MYSQL_VERSION}"