Skip to content

fix bug in generating java fdk docker file which caused 502s error#720

Merged
marvin659 merged 1 commit into
masterfrom
marleung/fn-cli-java-dockerfile-fix
May 13, 2026
Merged

fix bug in generating java fdk docker file which caused 502s error#720
marvin659 merged 1 commit into
masterfrom
marleung/fn-cli-java-dockerfile-fix

Conversation

@marvin659
Copy link
Copy Markdown
Contributor

@marvin659 marvin659 commented May 12, 2026

There is a bug in using Fn CLI version from 0.6.49 to 0.6.55 that if you use Fn CLI to build java functions, you will experience 502s container initialization error when invoking the functions. It was a bug introduced in version 0.6.49 which caused the docker file for Java malformed.

Tested for Java/Go/Python/DotNet/Ruby/Node. Here is the test result for java

Updating function java-test using image java-test:0.0.2...
Successfully created function: java-test with java-test:0.0.2
➜  java-test fn -v invoke myapp java-test
Hello, world!

@marvin659 marvin659 requested a review from Jaytee-fn May 13, 2026 08:55
Copy link
Copy Markdown
Contributor

@Jaytee-fn Jaytee-fn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@marvin659 marvin659 merged commit ab29031 into master May 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants