Skip to content
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

Snapshot to AWS Lambda fails #1768

Closed
sdelamo opened this issue May 4, 2023 · 0 comments · Fixed by #1773
Closed

Snapshot to AWS Lambda fails #1768

sdelamo opened this issue May 4, 2023 · 0 comments · Fixed by #1773
Labels
relates-to: build label for issues related to the build file or CI

Comments

@sdelamo
Copy link
Contributor

sdelamo commented May 4, 2023


* What went wrong:
Execution failed for task ':starter-aws-lambda:dockerBuildNative'.
> Could not build image: The command '/bin/sh -c native-image --exclude-config .*/libs/netty-handler-4.1.91.Final.jar ^/META-INF/native-image/.* --exclude-config .*/libs/netty-transport-4.1.91.Final.jar ^/META-INF/native-image/.* --exclude-config .*/libs/netty-codec-http-4.1.91.Final.jar ^/META-INF/native-image/.* --exclude-config .*/libs/netty-codec-http2-4.1.91.Final.jar ^/META-INF/native-image/.* --exclude-config .*/libs/netty-common-4.1.91.Final.jar ^/META-INF/native-image/.* --exclude-config .*/libs/netty-buffer-4.1.91.Final.jar ^/META-INF/native-image/.* -cp /home/app/libs/*.jar:/home/app/resources:/home/app/application.jar --no-fallback -H:Name=application -J--add-exports=org.graalvm.nativeimage.builder/com.oracle.svm.core.configure=ALL-UNNAMED -J--add-exports=org.graalvm.nativeimage.builder/com.oracle.svm.core.jdk=ALL-UNNAMED -J--add-exports=org.graalvm.nativeimage.builder/com.oracle.svm.core.jni=ALL-UNNAMED -J--add-exports=org.graalvm.sdk/org.graalvm.nativeimage.impl=ALL-UNNAMED -H:ConfigurationFileDirectories=/home/app/config-dirs/generateResourcesConfigFile,/home/app/config-dirs/io.netty/netty-common/4.1.80.Final,/home/app/config-dirs/io.netty/netty-buffer/4.1.80.Final,/home/app/config-dirs/io.netty/netty-transport/4.1.80.Final,/home/app/config-dirs/io.netty/netty-codec-http/4.1.80.Final,/home/app/config-dirs/io.netty/netty-handler/4.1.80.Final,/home/app/config-dirs/io.netty/netty-codec-http2/4.1.80.Final,/home/app/config-dirs/ch.qos.logback/logback-classic/1.4.1 -H:Class=io.micronaut.function.aws.runtime.MicronautLambdaRuntime' returned a non-zero code: 1

> Task :starter-aws-lambda:dockerBuildNative FAILED

https://ge.micronaut.io/s/gfvvwuglwcfx2

@sdelamo sdelamo added the relates-to: build label for issues related to the build file or CI label May 4, 2023
@sdelamo sdelamo closed this as completed May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
relates-to: build label for issues related to the build file or CI
Projects
No open projects
Status: Done
1 participant