Skip to content

Instantly share code, notes, and snippets.

Durim Kryeziu durimkryeziu

  • Kosovo/Lipjan
Block or report user

Report or block durimkryeziu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@durimkryeziu
durimkryeziu / Dockerfile
Last active Jan 21, 2019
Spring Boot Docker | Gradle | Multi-Stage Build
View Dockerfile
# Gradle version of this: https://spring.io/guides/topicals/spring-boot-docker/#_multi_stage_build
FROM openjdk:8u191-jdk-alpine 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
@durimkryeziu
durimkryeziu / integration-test.gradle
Last active Jan 21, 2019
Gradle Configuration for Integration Tests
View integration-test.gradle
// Tested with Gradle 5.0
sourceSets {
integrationTest {
compileClasspath += sourceSets.main.output
runtimeClasspath += sourceSets.main.output
resources.srcDir file('src/integrationtest/resources')
}
}
configurations {
You can’t perform that action at this time.