Skip to content

Instantly share code, notes, and snippets.

FROM openjdk:11-jdk-slim
RUN apt-get update && apt-get install -y git curl unzip procps time
RUN git clone https://github.com/spring-petclinic/spring-petclinic-kotlin.git /project && \
cd /project && git reset --hard 429f88335e8d233ffc527bff009721a72611e5e7
WORKDIR /project
# warm-up dependencies, gradle caches, compilation, etc
RUN time ./gradlew assemble