Skip to content

Instantly share code, notes, and snippets.

@vedashree29296
Created June 8, 2020 11:07
Show Gist options
  • Save vedashree29296/6dd45c8c698f2a6f64c85173676bc4a6 to your computer and use it in GitHub Desktop.
Save vedashree29296/6dd45c8c698f2a6f64c85173676bc4a6 to your computer and use it in GitHub Desktop.
package dependencies for lambda
# create a directory
mkdir -p layer
# build the image
docker build -t seabolt-base .
# copy the contents to the layer directory
CONTAINER=$(docker run -d seabolt-base false)
docker cp $CONTAINER:/opt/lib ./layer
docker rm $CONTAINER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment