Skip to content

Instantly share code, notes, and snippets.

@marcy-terui
Last active March 19, 2016 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcy-terui/9f450862908442bb7223 to your computer and use it in GitHub Desktop.
Save marcy-terui/9f450862908442bb7223 to your computer and use it in GitHub Desktop.
Amazon Linuxと同じオプションでビルドされたPythonを使って安全にLambda functionをデプロイしよう ref: http://qiita.com/marcy-terui/items/8cf32632d6548e2f310c
---
machine:
environment:
PATH: /opt/lamvery/bin:$PATH
dependencies:
pre:
- |
echo "deb https://dl.bintray.com/willyworks/deb trusty main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get install lamvery
echo "
[bintraybintray-willyworks-rpm]
name=bintray-willyworks-rpm
baseurl=https://dl.bintray.com/willyworks/rpm/centos/\$releaserver/\$basearch/
gpgcheck=0
enabled=1
" | sudo tee -a /etc/yum.repos.d/bintray-willyworks-rpm.repo
sudo yum install lamvery
echo "deb https://dl.bintray.com/willyworks/deb trusty main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get install install lamvery
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment