Created
October 31, 2019 04:47
-
-
Save bellyjay1005/0f448d59e423c9a2fa6dfbe5c13d6895 to your computer and use it in GitHub Desktop.
sample buildspec install phase
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
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