forked from letsencrypt/boulder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tiny docker-compose rebuild script (letsencrypt#2039)
For rebuilding when base images change, also adds some extra detail to README.md detailing when/why it should be used.
- Loading branch information
Roland Bracewell Shoemaker
authored
Jul 13, 2016
1 parent
217b79b
commit 8787c77
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash -ex | ||
# Stop any running boulder containers | ||
docker-compose stop | ||
# Rebuild anything that has changed since the last run | ||
docker-compose build | ||
# If docker-compose run is used before using `up -d` docker will | ||
# default to using old containers built from previous images | ||
# (if anything has changed). `up` takes any changes in configuration | ||
# or image into consideration when choosing which containers to | ||
# bring back up and will recreate any that are out of date | ||
docker-compose up -d |