Closed Hi-Fi closed 4 years ago
@Hi-Fi hey, is it possible for you to check if changes in #15 solve the problem or you need to have the prebuilt KLR image to test it?
Seems to be working fine. Replaced in go example Dockerfile's
go get github.com/triggermesh/aws-custom-runtime
with GO111MODULE=on go get github.com/triggermesh/aws-custom-runtime@ef74027b321f3b1df486614ebfb64552c69f8506
.
If InternalAPIport is changed to something else than 80 (which is the default value), functions are not starting because
AWS_LAMBDA_RUNTIME_API
is hardcoded to be just127.0.0.1
.AWS_LAMBDA_RUNTIME_API
should probably be127.0.0.1:<InternalAPIport>
?Relates to triggermesh/knative-lambda-runtime#48