forked from TechEmpower/FrameworkBenchmarks
-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
d1b507b
commit 5a43ee1
Showing
6 changed files
with
18 additions
and
17 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
8 changes: 4 additions & 4 deletions
8
...agon/hexagon-nettyepoll-native.dockerfile → ...n/hexagon/hexagon-jetty-native.dockerfile
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,21 +1,21 @@ | ||
# | ||
# BUILD | ||
# | ||
FROM ghcr.io/graalvm/native-image-community:17-ol9 as build | ||
FROM ghcr.io/graalvm/native-image-community:17-muslib-ol9 as build | ||
USER root | ||
WORKDIR /hexagon | ||
|
||
ADD . . | ||
RUN microdnf -y install findutils | ||
RUN ./gradlew --quiet classes | ||
RUN ./gradlew --quiet -x test nativeCompile | ||
RUN ./gradlew --quiet -x test hexagon_jetty_postgresql:nativeCompile | ||
|
||
# | ||
# RUNTIME | ||
# | ||
FROM scratch | ||
ARG PROJECT=hexagon_nettyepoll_postgresql | ||
ARG PROJECT=hexagon_jetty_postgresql | ||
|
||
COPY --from=build /hexagon/$PROJECT/build/native/nativeCompile/$PROJECT / | ||
|
||
ENTRYPOINT [ "/hexagon_nettyepoll_postgresql" ] | ||
ENTRYPOINT [ "/hexagon_jetty_postgresql" ] |
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
1 change: 1 addition & 0 deletions
1
...INF/native-image/com.hexagonkt.benchmark/hexagon_jetty_postgresql/native-image.properties
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 @@ | ||
Args=-H:IncludeResources=.*\\.css |
1 change: 0 additions & 1 deletion
1
frameworks/Kotlin/hexagon/hexagon_nettyepoll_postgresql/build.gradle
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,5 +1,4 @@ | ||
|
||
apply(from: "$gradleScripts/native.gradle") | ||
apply(from: "$gradleScripts/application.gradle") | ||
|
||
dependencies { | ||
|