Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@bellyjay1005
Created October 31, 2019 04:47
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 bellyjay1005/0f448d59e423c9a2fa6dfbe5c13d6895 to your computer and use it in GitHub Desktop.
Save bellyjay1005/0f448d59e423c9a2fa6dfbe5c13d6895 to your computer and use it in GitHub Desktop.
sample buildspec install phase
phases:
install:
runtime-versions:
python: 3.7
docker: 18
commands:
- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://127.0.0.1:2375 --storage-driver=overlay2&
- timeout 15 sh -c "until docker info; do echo .; sleep 1; done"
- echo Entering the install phase.....
- apt-get update -y
- apt-get -y install python-pip -y
- pip install awscli --upgrade --user
- pip install boto3
- pip install anchorecli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment