cli icon indicating copy to clipboard operation
cli copied to clipboard

can't init java runtime

Open stevensu1977 opened this issue 7 years ago • 3 comments
trafficstars

can't access https://api.bintray.com/search/packages/maven?repo=fnproject&g=com.fnproject.fn&a=fdk, even use some public cloud provider , like aws EC2, oracle public cloud (OCI-classic)

I have question why java runtime dependent bintray api service ?

stevensu1977 avatar Mar 31 '18 00:03 stevensu1977

api.bintray.com can't get response image

stevensu1977 avatar Mar 31 '18 00:03 stevensu1977

when I set FN_JAVA_FDK_VERSION=1.0.59 it's work, but I think may be we can give default FN_JAVA_FDK_VERSION, even I set "latest" , it's also not work, it's not friendly use

stevensu1977 avatar Mar 31 '18 01:03 stevensu1977

Sorry for the delay In replying we use bintray to fixate the latest version of the FDK when you fun fn init. This preserves repeatable builds as you end up with the same FDK lib and base images as when you defined the function.

It looks like bintray was down at the point you tested this.

We use bintray for convenience now but I’ll leave this open as appreciate that this is not ideal and we could host this repo some where we control

zootalures avatar May 10 '18 22:05 zootalures