-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #109 from Baaaaam/docker
update dockerfile/circle to update `:latest` on `develop` merge and `:stable` on `master` merge
- Loading branch information
Showing
8 changed files
with
73 additions
and
30 deletions.
There are no files selected for viewing
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
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
2 changes: 1 addition & 1 deletion
2
docker/cymetric-ci/Dockerfile → docker/cymetric-ci/Dockerfile_template
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,5 +1,5 @@ | ||
|
||
FROM cyclus/cymetric-deps | ||
FROM cyclus/cymetric-deps:CYMETRIC_VERSION | ||
|
||
COPY . /cymetric | ||
WORKDIR /cymetric | ||
|
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,19 @@ | ||
#!/bin/bash | ||
|
||
if [ $# -ne 1 ]; then | ||
echo "illegal number of parameters" | ||
exit 1 | ||
fi | ||
|
||
if [ ! ${1} = "stable" ] && [ ! ${1} = "latest" ] ; then | ||
echo "Version must be \"stable\" or \"latest\" !" | ||
exit 1 | ||
fi | ||
|
||
rm Dockerfile | ||
sed -e s/CYMETRIC_VERSION/${1}/g docker/cymetric-ci/Dockerfile_template > Dockerfile | ||
|
||
#docker build -t cyclus/cymetric:${1} docker/cymetric | ||
#docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS | ||
#docker push cyclus/cymetric:${1} | ||
|
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,11 +0,0 @@ | ||
|
||
FROM cyclus/cycamore | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y --force-yes --fix-missing python3-pip | ||
RUN pip3 install cython numpy | ||
RUN pip3 install tables | ||
RUN pip3 install jinja2 | ||
RUN pip3 install pandas | ||
RUN pip3 install numexpr argparse | ||
|
||
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 @@ | ||
|
||
FROM cyclus/cycamore:CYCAMORE_VERSION | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y --force-yes --fix-missing python3-pip | ||
RUN pip3 install cython numpy | ||
RUN pip3 install tables | ||
RUN pip3 install jinja2 | ||
RUN pip3 install pandas | ||
RUN pip3 install numexpr argparse | ||
|
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,19 @@ | ||
#!/bin/bash | ||
|
||
if [ $# -ne 1 ]; then | ||
echo "illegal number of parameters" | ||
exit 1 | ||
fi | ||
|
||
if [ ! ${1} = "stable" ] && [ ! ${1} = "latest" ] ; then | ||
echo "Version must be \"stable\" or \"latest\" !" | ||
exit 1 | ||
fi | ||
|
||
rm Dockerfile | ||
sed -e s/CYCAMORE_VERSION/${1}/g docker/cymetric-deps/Dockerfile_template > Dockerfile | ||
|
||
#docker build -t cyclus/cymetric-deps:${1} docker/cymetric-deps | ||
#docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS | ||
#docker push cyclus/cymetric-deps:${1} | ||
|