Skip to content

Instantly share code, notes, and snippets.

@lloydmeta
Created August 15, 2017 08:18
Show Gist options
  • Save lloydmeta/27aae1c7716b8313cff2a78d7df7aa09 to your computer and use it in GitHub Desktop.
Save lloydmeta/27aae1c7716b8313cff2a78d7df7aa09 to your computer and use it in GitHub Desktop.
Local AWS Stack via localstack that supports non-python lambda functions
#!/usr/bin/env bash
docker run -it -e LAMBDA_EXECUTOR="docker" -p 8080:8080 -p 443:443 -p 4567-4582:4567-4582 -p 4590-4593:4590-4593 -v "/private/var/folders/localstack:/tmp/localstack" -v "/var/run/docker.sock:/var/run/docker.sock" -e DOCKER_HOST="unix:///var/run/docker.sock" -e HOST_TMP_FOLDER="/private/var/folders/localstack" "localstack/localstack"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment