Skip to content

Instantly share code, notes, and snippets.

@justinhennessy
Created December 20, 2018 22:32
Show Gist options
  • Save justinhennessy/b36a7c8246db44ea75606f68fe86874a to your computer and use it in GitHub Desktop.
Save justinhennessy/b36a7c8246db44ea75606f68fe86874a to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "Generatating python modules directory ..."
echo "-----------------------------------------"
echo ""
docker run -v ${PWD}:/working -it python_builder
echo ""
echo "Create code artifact ..."
echo "------------------------"
echo ""
rm -f code.zip || true
zip -r code.zip . --exclude '*.git*' --exclude 'tests'
echo "Completed!"
echo ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment