clean Dockerfile
This commit is contained in:
@@ -3,10 +3,8 @@ FROM gradle:latest AS cache
|
||||
RUN mkdir -p /home/gradle/cache_home
|
||||
ENV GRADLE_USER_HOME=/home/gradle/cache_home
|
||||
COPY build.gradle.* gradle.properties /home/gradle/app/
|
||||
COPY .editorconfig /home/gradle/app/
|
||||
COPY gradle /home/gradle/app/gradle
|
||||
WORKDIR /home/gradle/app
|
||||
RUN gradle clean build -i -x test -x ktlintCheck -x ktlintKotlinScriptCheck
|
||||
RUN gradle build -i -x check
|
||||
|
||||
# Stage 2: Build Application
|
||||
FROM gradle:latest AS build
|
||||
|
||||
Reference in New Issue
Block a user