Skip to content

To provide prebuilt tor and package it for aws lambda layer

Notifications You must be signed in to change notification settings

ConduciveMocha/lambda-layer-tor

 
 

Repository files navigation

tor lambda-layer

Build Status

AWS Lambda introduces a new feautre Layer that helps developers split common components into standalone package.

We use this feature to build a layer for tor proxy. It can be re-used by other projects.

build

We provide two context to build a suitable binary. Developers could find a compatible runtime table in the lambda runtime document.

For example:

Runtime Operating System Context Name
Python 3.7 Amazon Linux context-amazon-linux-1
Node.js 8.10 Amazon Linux context-amazon-linux-1
Node.js 10 Amazon Linux 2 context-amazon-linux-2

We can build it with commands for Amazon Linux and Amazon Linux 2:

./build.sh context-amazon-linux-1
./build.sh context-amazon-linux-2

After built, you could find either context-amazon-linux-1.zip or context-amazon-2.zip in the output/ path. It could be registered to aws lambda layer, please see AWS Lambda Layers documents.

prebuilt releases

There are prebuilt and packaged zip files in our releases page.

About

To provide prebuilt tor and package it for aws lambda layer

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 62.4%
  • JavaScript 14.3%
  • Dockerfile 13.7%
  • Python 9.6%