Skip to content

Commit

Permalink
Clean up old docker images to save space.
Browse files Browse the repository at this point in the history
andrewkrug authored Jul 17, 2017
1 parent bed180d commit 205a96e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/build-environment.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

#Clean up old images
docker images -q |xargs docker rmi

cd /home/ec2-user/app

ACCOUNT_ID=`aws sts get-caller-identity | grep Account | cut -d '"' -f4`

0 comments on commit 205a96e

Please sign in to comment.