Categorygithub.com/handlename/lambda-container-exec
modulepackage
0.1.3
Repository: https://github.com/handlename/lambda-container-exec.git
Documentation: pkg.go.dev

# README

lambda-container-exec

For container running on AWS Lambda. It exec code downloaded from S3.

Setup

  1. Place lambda-container-exec binary at /main in your container image.

    FROM ghcr.io/handlename/lambda-container-exec:0.1.3 AS lambda-container-exec
    FROM ...
    COPY --from=lambda-container-exec /usr/local/bin/lambda-container-exec /main
    
  2. Set ENTRYPOINT as "/main"

    ENTRYPOINT ["/main"]
    
  3. Set source code path to environment variable CONTAINER_EXEC_SRC

See also AWS official documentation. https://docs.aws.amazon.com/ja_jp/lambda/latest/dg/go-image.html

Source code structure

lambda-container-exec downloads source code from $CONTAINER_EXEC_SRC as S3 path, and exec bootstarp in extracted source code.

Please check ./exmaple/code directory.

Author

https://github.com/handlename

License

MIT

# Functions

No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author