Sign inSign up

refunc/lambda

By refunc

•Updated over 3 years ago

Lambda Runtime images and Xenvs for Refunc

Image
0

2.9K

refunc/lambda repository overview

⁠Lambda Runtimes

Lambda Runtime images and Xenvs⁠ for Refunc⁠

⁠How it works

We use image from lambci/docker-lambda⁠ as base image for each runtime, and convert it's runtime to aws cunstom runtime⁠ in order to run old runtimes on refunc

⁠Supported runtimes

  • prvoided
  • python3.7
  • ruby2.5
  • python3.6
  • python2.7
  • nodejs8.10
  • nodejs6.10
  • java8
  • go1.x
  • dotnetcore2.1
  • dotnetcore2.0

⁠Dev in local docker without a k8s cluster

main.go⁠ is a code runner that implements a stdin/stdout sidecar⁠ to hosts a AWS lambda custom runtime⁠

The runner will setup and exec bootstrap for a given runtime, it reads json string from stdin and forward to function and print output to stdout

When creating a new runtime, we can start a container and using runner to debug, for details plz check Makefile⁠

⁠Artifacts

We leverage docker's auto builds⁠ to create images for our ported runtimes, new image will name under refunc/lambda:${runtime_name}⁠

⁠License

Copyright (c) 2018 refunc.io⁠

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0⁠

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Tag summary

Content type

Image

Digest

sha256:be9775e9d…

Size

367.9 MB

Last updated

over 3 years ago

docker pull refunc/lambda:python3.10