-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added final presentation file and Dockerfiles for ttests
- Loading branch information
1 parent
eeb87a9
commit f0f7654
Showing
3 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
ARG DEPENDENCY=./code/jvm | ||
ARG APP_HOME=/usr/app | ||
|
||
FROM gradle:jdk17 AS CACHE_IMAGE | ||
ARG DEPENDENCY | ||
ARG APP_HOME | ||
ENV GRADLE_USER_HOME=$APP_HOME/.gradle | ||
|
||
RUN mkdir -p $APP_HOME | ||
COPY $DEPENDENCY/build.gradle.kts $APP_HOME | ||
WORKDIR $APP_HOME | ||
RUN gradle --no-daemon | ||
|
||
FROM gradle:jdk17 AS BUILDER_IMAGE | ||
ARG DEPENDENCY | ||
ARG APP_HOME | ||
ENV GRADLE_USER_HOME=$APP_HOME/.gradle | ||
COPY --from=CACHE_IMAGE $APP_HOME/.gradle $APP_HOME/.gradle | ||
|
||
COPY $DEPENDENCY/settings.gradle.kts $APP_HOME | ||
COPY $DEPENDENCY/build.gradle.kts $APP_HOME | ||
COPY $DEPENDENCY/src $APP_HOME/src | ||
|
||
WORKDIR $APP_HOME | ||
|
||
RUN gradle test --no-daemon |
Binary file not shown.