-
Notifications
You must be signed in to change notification settings - Fork 0
Scala Native #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scala Native #18
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,16 @@ | ||
| FROM virtuslab/scala-cli:latest as build-image | ||
|
|
||
| RUN apt-get update && apt-get install -y libcurl4-openssl-dev && rm -rf /var/lib/apt/lists/* | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
| WORKDIR /work | ||
| COPY ./ ./ | ||
|
|
||
| RUN scala-cli clean . | ||
| RUN scala-cli config power true | ||
| # target GraalVM | ||
| RUN scala-cli --power package --native-image -o bootstrap . | ||
| # RUN scala-cli --power package --native-image -o bootstrap . | ||
| # target Scala Native | ||
| # RUN scala-cli --power package --native -o bootstrap . | ||
| RUN scala-cli --power package --native -o bootstrap . | ||
| RUN chmod +x bootstrap | ||
|
|
||
| FROM public.ecr.aws/lambda/provided:latest | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,9 +1,7 @@ | ||||||
| // for GraalVM | ||||||
| //> using packaging.graalvmArgs --static | ||||||
| //> using packaging.graalvmArgs --no-fallback | ||||||
| // //> using packaging.graalvmArgs --static | ||||||
| // //> using packaging.graalvmArgs --no-fallback | ||||||
| // for Scala Native | ||||||
| // //> using platform native | ||||||
| // //> using nativeTarget library-static | ||||||
| //> using platform native | ||||||
| //> using toolkit default | ||||||
| //> using dep "com.softwaremill.sttp.client4::core:4.0.0-M14" | ||||||
| //> using dep "com.lihaoyi::upickle:3.3.1" | ||||||
| //> using dep "com.lihaoyi::upickle:4.4.2" | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The
Suggested change
|
||||||
Uh oh!
There was an error while loading. Please reload this page.