事件驱动代码在线运行环境:lambda-docker

jopen 9年前

Lambda docker

Introduction

lambda-docker - 事件驱动代码在线运行环境类似于AWS Lambda 服务。

你可以运行Python/Golang/Ruby/Java/Javascript/Erlang/Shell 或任何脚本而不需要搭服务器。

  • Python
    • Python 2.7
    • Python 3.5
    </li>
  • Golang
  • Java
    • Java 6
    • Java 7
    • Java 8
    • Java 9
    • OpenJDK 6
    • OpenJDK 7
    • OpenJDK 8
    • OpenJDK 9
    • </ul> </li>
    • JavaScript
      • NodeJS
      • </ul> </li>
      • C
      • CPP
      • Ruby
      • Erlang
      • Shell
        • Ubuntu
        • CentOS
        • </ul> </li>
        • PHP
        • Perl
        • C#
        • VB
        • Pascal
        • Rust
        • Elixir
        • R
        • Lua
        • Lisp
        • Object-C
        • Swift
        • Clojure
        • Haskell
        • </ul>

          Usage

          sudo ./server.py

          Or run in container.

          docker run -d -v /var/run/docker.sock:/var/run/docker.sock -v /tmp:/tmp -p 8080:8080 tobegit3hub/lambda-docker

          Demonstration

          Run lambda-docker server and go to http://127.0.0.1:8080.

          The user script runs in container without any configuration.

          Shell runtime is support now!

          Python runtime is support now!

          Golang runtime is support now!

          Ruby runtime is support now!

          Erlang runtime is support now!

          项目地址: https://github.com/tobegit3hub/lambda-docker