-
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.
- Loading branch information
Bitbucket Pipeline
committed
May 6, 2020
1 parent
8fe434d
commit 34cf8c4
Showing
3 changed files
with
6 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
FROM oracle/graalvm-ce:19.2.0 as graalvm | ||
FROM oracle/graalvm-ce:20.0.0-java11 as graalvm | ||
COPY . /home/app/micronaut-hello-native1 | ||
WORKDIR /home/app/micronaut-hello-native1 | ||
ENV JAVA_OPTIONS "-Xms1g -Xmx16g" | ||
RUN gu install native-image | ||
RUN native-image -J-Xmx4g --no-server -cp build/libs/micronaut-hello-native1-0.1-all.jar | ||
|
||
FROM frolvlad/alpine-glibc | ||
FROM muicoder/glibc | ||
EXPOSE 8080 | ||
COPY --from=graalvm /home/app/micronaut-hello-native1 . | ||
ENTRYPOINT ["./micronaut-hello-native1"] |
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 |
---|---|---|
@@ -1 +1 @@ | ||
micronautVersion=1.2.2 | ||
micronautVersion=1.3.4 |