Created
June 8, 2020 11:07
-
-
Save vedashree29296/6dd45c8c698f2a6f64c85173676bc4a6 to your computer and use it in GitHub Desktop.
package dependencies for lambda
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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