This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Gradle version of this: https://spring.io/guides/topicals/spring-boot-docker/#_multi_stage_build | |
FROM azul/zulu-openjdk-alpine:11.0.5 as build | |
WORKDIR /workspace/app/ | |
COPY gradlew . | |
COPY gradle gradle | |
COPY build.gradle settings.gradle /workspace/app/ | |
COPY src src | |
ENV GRADLE_OPTS -Dorg.gradle.daemon=false -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Tested with Gradle 5.0 | |
sourceSets { | |
integrationTest { | |
compileClasspath += sourceSets.main.output | |
runtimeClasspath += sourceSets.main.output | |
resources.srcDir file('src/integrationtest/resources') | |
} | |
} | |
configurations { |