Skip to content

Commit

Permalink
use java 11 for finatra [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
waghanza committed Apr 30, 2023
1 parent 752231a commit b53bec6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scala/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ COPY . ./

RUN sbt universal:packageZipTarball

FROM eclipse-temurin:17.0.7_7-jre-jammy
{{#provider.default.java-version}}
FROM eclipse-temurin:{{{.}}}-jre-jammy
{{/provider.default.java-version}}
{{^provider.default.java-version}}
FROM eclipse-temurin:17.0.7_7-jre-jammy
{{/provider.default.java-version}}

WORKDIR /usr/src/app

Expand Down
1 change: 1 addition & 0 deletions scala/finatra/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ provider:
language: 2.13

image-version: 2.13.10
java-version: 11

framework:
website: twitter.github.io/finatra/
Expand Down

0 comments on commit b53bec6

Please sign in to comment.