This repository has been archived by the owner on Jun 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
consolidated container build script. polised run script
- Loading branch information
Li Lin
committed
Jan 29, 2015
1 parent
e97c924
commit a63833e
Showing
10 changed files
with
37 additions
and
100 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -2,6 +2,6 @@ FROM httpd:2.4 | |
MAINTAINER Li Lin <[email protected]> | ||
|
||
RUN mv /usr/local/apache2/conf/httpd.conf httpd.conf.orig | ||
ADD httpd.conf /usr/local/apache2/conf/httpd.conf | ||
ADD proxy-atl.conf /usr/local/apache2/conf/extra/proxy-atl.conf | ||
ADD httpd.conf /usr/local/apache2/conf/ | ||
ADD proxy-atl.conf /usr/local/apache2/conf/extra/ | ||
|
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,29 +1,36 @@ | ||
cd java-base | ||
./build.sh | ||
cd .. | ||
#!/bin/bash | ||
|
||
cd atl-jira | ||
./build.sh | ||
cd .. | ||
set -o errexit | ||
|
||
cd atl-stash | ||
./build.sh | ||
cd .. | ||
# build all the images | ||
|
||
cd atl-fisheye | ||
./build.sh | ||
cd .. | ||
( | ||
cd java-base | ||
#docker build --rm --tag sloppycoder/java-base . | ||
) | ||
|
||
cd atl-bamboo | ||
./build.sh | ||
cd .. | ||
for MODULE in $(ls -d atl-bamboo*) | ||
do | ||
( | ||
echo building $MODULE | ||
cd $MODULE | ||
TAG="sloppycoder/$MODULE" | ||
|
||
cd atl-postgres | ||
./build.sh | ||
cd .. | ||
docker build --rm --tag ${TAG}:latest . | ||
|
||
case "$MODULE" in | ||
|
||
cd atl-web | ||
./build.sh | ||
cd .. | ||
atl-jira|atl-stash|atl-bamboo|atl-fisheye) | ||
|
||
ENV_STRING="$(docker inspect -f '{{ index .ContainerConfig.Env 2 }}' ${TAG}:latest )" | ||
VERSION="$(echo $ENV_STRING | awk ' { match($0, ".*=(.*)", a) } END { print a[1] }')" | ||
|
||
[ -z "$VERSION" ] || docker tag ${TAG}:latest ${TAG}:${VERSION} | ||
;; | ||
|
||
*) | ||
|
||
;; | ||
esac | ||
) | ||
done |
This file was deleted.
Oops, something went wrong.
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