|
@ -38,13 +38,6 @@ fi |
|
|
#type -t docker-compose || ln -sfv /opt/apps/compose/bin/docker-compose /usr/local/bin |
|
|
#type -t docker-compose || ln -sfv /opt/apps/compose/bin/docker-compose /usr/local/bin |
|
|
type -t docker-clean || ln -sfv /opt/apps/0k-docker/bin/docker-clean /usr/local/bin |
|
|
type -t docker-clean || ln -sfv /opt/apps/0k-docker/bin/docker-clean /usr/local/bin |
|
|
|
|
|
|
|
|
if [ -d "/opt/apps/0k-docker" ]; then ## should come from http://docker.0k.io/get/ |
|
|
|
|
|
( |
|
|
|
|
|
cd /opt/apps/0k-docker |
|
|
|
|
|
git checkout master |
|
|
|
|
|
) |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
echo "Login into our server." |
|
|
echo "Login into our server." |
|
|
docker login -u deploy -p deployinvm git.panda-chi.io:5002 |
|
|
docker login -u deploy -p deployinvm git.panda-chi.io:5002 |
|
|
|
|
|
|
|
|