Last active
March 11, 2017 22:48
-
-
Save moylop260/29b6f13122b80036fce3 to your computer and use it in GitHub Desktop.
Revisions
-
moylop260 revised this gist
Mar 11, 2017 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,7 @@ # travis2docker 3.0.0 CON EL DOCKER-MACHINE CREATE DRIVER BY DEFAULT WORKS FINE! # Con docker on mac hyperv me pasó este error al hacer docker pull registry:2 https://github.com/docker/docker/issues/14140 (Pero ya fue reparado y trabaja bien) # Pero solo cuando uso -v a /var/lib/docker -
moylop260 revised this gist
Nov 10, 2016 . 1 changed file with 11 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ # Con docker on mac hyperv me pasó este error al hacer docker pull registry:2 https://github.com/docker/docker/issues/14140 (Pero ya fue reparado y trabaja bien) # Pero solo cuando uso -v a /var/lib/docker # Usando hyperV Volvió a marcar error, al hacer usando -v /var/lib/docker al "docker pull vauxoo/odoo-80-image-shippable-auto/" después de descargar el 100% muestra: "Error processing tar file docker function not implemented" ```bash export DOCKER_SHARE_LOCAL_PATH=$HOME/dkr-in-dkr-volume export RUN_EXTRA_ARGS="--run-extra-args='--privileged -v ${DOCKER_SHARE_LOCAL_PATH}/runbot:/var/lib/docker -v ${DOCKER_SHARE_LOCAL_PATH}/runbot-repo:/root/odoo-extra/runbot/static/repo --entrypoint=bash'" @@ -34,20 +34,24 @@ RUN sed -i '2iservice docker start && sleep 2' /entrypoint.sh && \ # Usando docker-machine ```bash # -v /var/run/docker.sock:/var/run/docker.sock" # To run containers from main # -v /root/dkr-in-dkr-volume/runbot:/var/lib/docker # raditz # -v /mnt/sda1/dkr-in-dkr-volume/runbot:/var/lib/docker # docker-machine vm export DOCKER_SHARE_LOCAL_PATH=/mnt/sda1/dkr-in-dkr-volume export RUN_EXTRA_ARGS='--run-extra-args="--privileged -v ${DOCKER_SHARE_LOCAL_PATH}/runbot:/var/lib/docker -v ${DOCKER_SHARE_LOCAL_PATH}/runbot-repo:/root/odoo-extra/runbot/static/repo --entrypoint=bash"' eval t2dl $RUN_EXTRA_ARGS git@github.com:Vauxoo/runbot-addons.git 9.0 or eval t2dl $RUN_EXTRA_ARGS git@github.com:moylop260/runbot-oca.git master cd build deseado sed -i '' '/docker run/d' files/install sed -i '' '/docker pull/d' files/install sed -i '' '/travis_requirements.sh;/d' files/install echo """ RUN apt-get install libapparmor1 libsystemd-journal0 libnfnetlink0 libxtables10 iptables && \ @@ -58,6 +62,7 @@ VOLUME ['/var/lib/docker'] RUN sed -i '2iservice docker start && sleep 2' /entrypoint.sh && \ sed -i '3idocker run -d -p 5000:5000 --name registry registry:2' /entrypoint.sh && \ sed -i '4idocker start registry' /entrypoint.sh sed -i '5i\${TRAVIS_BUILD_DIR}/.travis_requirements.sh' /entrypoint.sh; echo 1 """ >> Dockerfile 10-build.sh -
moylop260 revised this gist
Nov 10, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -15,7 +15,7 @@ cd build sed -i '' '/docker run/d' files/install sed -i '' '/docker pull/d' files/install sed -i '' '/travis_requirements.sh;/d' files/install echo """ RUN apt-get install libapparmor1 libsystemd-journal0 libnfnetlink0 libxtables10 iptables && \ wget https://apt.dockerproject.org/repo/pool/main/d/docker-engine/docker-engine_1.12.0-0~trusty_amd64.deb -O /tmp/docker.deb && \ -
moylop260 revised this gist
Nov 10, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ # Usando hyperV ```bash export DOCKER_SHARE_LOCAL_PATH=$HOME/dkr-in-dkr-volume export RUN_EXTRA_ARGS="--run-extra-args='--privileged -v ${DOCKER_SHARE_LOCAL_PATH}/runbot:/var/lib/docker -v ${DOCKER_SHARE_LOCAL_PATH}/runbot-repo:/root/odoo-extra/runbot/static/repo --entrypoint=bash'" eval t2dl $RUN_EXTRA_ARGS git@github.com:Vauxoo/runbot-addons.git 9.0 or eval t2dl $RUN_EXTRA_ARGS git@github.com:moylop260/runbot-oca.git master -
moylop260 revised this gist
Nov 10, 2016 . 1 changed file with 6 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -5,9 +5,11 @@ # Usando hyperV ```bash export DOCKER_SHARE_LOCAL_PATH=$HOME/dkr-in-dkr-volume export RUN_EXTRA_ARGS="--run-extra-args='--privileged -v ${DOCKER_SHARE_LOCAL_PATH}/runbot:/var/lib/docker -v ${DOCKER_SHARE_LOCAL_PATH}/runbot-repo:/root/odoo-extra/runbot/static/repo'" eval t2dl $RUN_EXTRA_ARGS git@github.com:Vauxoo/runbot-addons.git 9.0 or eval t2dl $RUN_EXTRA_ARGS git@github.com:moylop260/runbot-oca.git master cd build @@ -23,7 +25,7 @@ VOLUME ['/var/lib/docker'] RUN sed -i '2iservice docker start && sleep 2' /entrypoint.sh && \ sed -i '3idocker run -d -p 5000:5000 --name registry registry:2' /entrypoint.sh && \ sed -i '4idocker start registry' /entrypoint.sh && \ sed -i '5i\${TRAVIS_BUILD_DIR}/.travis_requirements.sh' /entrypoint.sh; echo 1 """ >> Dockerfile ``` -
moylop260 revised this gist
Nov 10, 2016 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -4,6 +4,7 @@ # Pero solo cuando uso -v a /var/lib/docker # Usando hyperV ```bash export DOCKER_SHARE_LOCAL_PATH=$HOME/dkr-in-dkr-volume/ export RUN_EXTRA_ARGS="--run-extra-args="--privileged -v ${DOCKER_SHARE_LOCAL_PATH}/runbot:/var/lib/docker -v ${DOCKER_SHARE_LOCAL_PATH}/runbot-repo:/root/odoo-extra/runbot/static/repo" t2dl $RUN_EXTRA_ARGS git@github.com:Vauxoo/runbot-addons.git 9.0 @@ -24,7 +25,7 @@ RUN sed -i '2iservice docker start && sleep 2' /entrypoint.sh && \ sed -i '4idocker start registry' /entrypoint.sh && \ sed -i '5${TRAVIS_BUILD_DIR}/.travis_requirements.sh; echo 1' """ >> Dockerfile ``` -
moylop260 revised this gist
Nov 10, 2016 . 1 changed file with 30 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,36 @@ # Con docker on mac hyperv me pasó este error al hacer docker pull registry:2 https://github.com/docker/docker/issues/14140 (Pero ya fue reparado y trabaja bien) # Pero solo cuando uso -v a /var/lib/docker # Usando hyperV export DOCKER_SHARE_LOCAL_PATH=$HOME/dkr-in-dkr-volume/ export RUN_EXTRA_ARGS="--run-extra-args="--privileged -v ${DOCKER_SHARE_LOCAL_PATH}/runbot:/var/lib/docker -v ${DOCKER_SHARE_LOCAL_PATH}/runbot-repo:/root/odoo-extra/runbot/static/repo" t2dl $RUN_EXTRA_ARGS git@github.com:Vauxoo/runbot-addons.git 9.0 cd build sed -i '' '/docker run/d' files/install sed -i '' '/docker pull/d' files/install sed -i '' '/travis_requirements/d' files/install echo """ RUN apt-get install libapparmor1 libsystemd-journal0 libnfnetlink0 libxtables10 iptables && \ wget https://apt.dockerproject.org/repo/pool/main/d/docker-engine/docker-engine_1.12.0-0~trusty_amd64.deb -O /tmp/docker.deb && \ dpkg -i /tmp/docker.deb && sudo usermod -aG docker root VOLUME ['/var/lib/docker'] RUN sed -i '2iservice docker start && sleep 2' /entrypoint.sh && \ sed -i '3idocker run -d -p 5000:5000 --name registry registry:2' /entrypoint.sh && \ sed -i '4idocker start registry' /entrypoint.sh && \ sed -i '5${TRAVIS_BUILD_DIR}/.travis_requirements.sh; echo 1' """ >> Dockerfile # (Ya no, desde que sí funciona con hyperV) Mejor usar docker-machine ```bash # -v /var/run/docker.sock:/var/run/docker.sock" # To run containers from main -
moylop260 revised this gist
Nov 10, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ # travis2docker 3.0.0 # Con docker on mac hyperv me pasó este error al hacer docker pull registry:2 https://github.com/docker/docker/issues/14140 (Pero ya fue reparado y trabaja bien) # Pero solo cuando uso -v a /var/lib/docker # Mejor usar docker-machine -
moylop260 revised this gist
Sep 27, 2016 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -14,6 +14,8 @@ t2dl git@github.com:Vauxoo/runbot-addons.git 9.0 --run-extra-args="--privileged cd ~/.t2d/script/git_github.com_Vauxoo_runbot-addons.git/9.0/2 sed -i '' '/docker run/d' files/install sed -i '' '/docker pull/d' files/install # If you are using oca project remove "docker" word from ${TRAVIS_BUILD_DIR}/.travis_requirements.sh like as: # sed -i '1idocker/d ${TRAVIS_BUILD_DIR}/.travis_requirements.sh' files/install # It don't work! :( echo """ RUN apt-get install libapparmor1 libsystemd-journal0 libnfnetlink0 libxtables10 iptables && \ -
moylop260 revised this gist
Jul 29, 2016 . No changes.There are no files selected for viewing
-
moylop260 revised this gist
Jul 29, 2016 . 1 changed file with 2 additions and 12 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -9,27 +9,17 @@ # -v /root/dkr-in-dkr-volume/runbot:/var/lib/docker # raditz # -v /mnt/sda1/dkr-in-dkr-volume/runbot:/var/lib/docker # docker-machine vm export DOCKER_SHARE_LOCAL_PATH=/mnt/sda1/dkr-in-dkr-volume t2dl git@github.com:Vauxoo/runbot-addons.git 9.0 --run-extra-args="--privileged -v ${DOCKER_SHARE_LOCAL_PATH}/runbot:/var/lib/docker -v ${DOCKER_SHARE_LOCAL_PATH}/runbot-repo:/root/odoo-extra/runbot/static/repo --entrypoint=bash" cd ~/.t2d/script/git_github.com_Vauxoo_runbot-addons.git/9.0/2 sed -i '' '/docker run/d' files/install sed -i '' '/docker pull/d' files/install echo """ RUN apt-get install libapparmor1 libsystemd-journal0 libnfnetlink0 libxtables10 iptables && \ wget https://apt.dockerproject.org/repo/pool/main/d/docker-engine/docker-engine_1.12.0-0~trusty_amd64.deb -O /tmp/docker.deb && \ dpkg -i /tmp/docker.deb && sudo usermod -aG docker root VOLUME ['/var/lib/docker'] RUN sed -i '2iservice docker start && sleep 2' /entrypoint.sh && \ sed -i '3idocker run -d -p 5000:5000 --name registry registry:2' /entrypoint.sh && \ -
moylop260 revised this gist
Jul 29, 2016 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,9 @@ # travis2docker 3.0.0 # Con docker on mac hyperv me pasó este error al hacer docker pull registry:2 https://github.com/docker/docker/issues/14140 # Pero solo cuando uso -v a /var/lib/docker # Mejor usar docker-machine ```bash # -v /var/run/docker.sock:/var/run/docker.sock" # To run containers from main # -v /root/dkr-in-dkr-volume/runbot:/var/lib/docker # raditz -
moylop260 revised this gist
Jul 29, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -27,7 +27,7 @@ VOLUME ['/var/lib/docker'] # && git fetch origin \ # && git fetch -p origin +refs/pull/*/head:refs/pull/* RUN sed -i '2iservice docker start && sleep 2' /entrypoint.sh && \ sed -i '3idocker run -d -p 5000:5000 --name registry registry:2' /entrypoint.sh && \ sed -i '4idocker start registry' /entrypoint.sh """ >> Dockerfile -
moylop260 revised this gist
Jul 29, 2016 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,8 @@ export DOCKER_SHARE_LOCAL_PATH=${HOME}/dkr-in-dkr-volume t2dl git@github.com:Vauxoo/runbot-addons.git 9.0 --run-extra-args="--privileged -v ${DOCKER_SHARE_LOCAL_PATH}/runbot:/var/lib/docker --entrypoint=bash" cd ~/.t2d/script/git_github.com_Vauxoo_runbot-addons.git/9.0/2 sed -i '' '/docker run/d' files/install sed -i '' '/docker pull/d' files/install # Linux: sed -i '/docker/d' files/install echo """ -
moylop260 revised this gist
Jul 29, 2016 . 1 changed file with 4 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -9,9 +9,6 @@ export DOCKER_SHARE_LOCAL_PATH=${HOME}/dkr-in-dkr-volume t2dl git@github.com:Vauxoo/runbot-addons.git 9.0 --run-extra-args="--privileged -v ${DOCKER_SHARE_LOCAL_PATH}/runbot:/var/lib/docker --entrypoint=bash" cd ~/.t2d/script/git_github.com_Vauxoo_runbot-addons.git/9.0/2 sed -i '' '/docker/d' files/install # Linux: sed -i '/docker/d' files/install echo """ @@ -28,6 +25,10 @@ VOLUME ['/var/lib/docker'] # && git remote rename odoo origin \ # && git fetch origin \ # && git fetch -p origin +refs/pull/*/head:refs/pull/* RUN sed -i '2i/etc/init.d/docker start' /entrypoint.sh && \ sed -i '3idocker run -d -p 5000:5000 --name registry registry:2' /entrypoint.sh && \ sed -i '4idocker start registry' /entrypoint.sh """ >> Dockerfile 10-build.sh -
moylop260 revised this gist
Jul 29, 2016 . 1 changed file with 4 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -9,6 +9,10 @@ export DOCKER_SHARE_LOCAL_PATH=${HOME}/dkr-in-dkr-volume t2dl git@github.com:Vauxoo/runbot-addons.git 9.0 --run-extra-args="--privileged -v ${DOCKER_SHARE_LOCAL_PATH}/runbot:/var/lib/docker --entrypoint=bash" cd ~/.t2d/script/git_github.com_Vauxoo_runbot-addons.git/9.0/2 sed -i '' '/docker/d' files/install sed -i '' '2i/etc/init.d/docker start' files//entrypoint.sh sed -i '' '3idocker run -d -p 5000:5000 --name registry registry:2' files//entrypoint.sh sed -i '' '4idocker start registry' files//entrypoint.sh # Linux: sed -i '/docker/d' files/install echo """ # RUN apt-get install apt-transport-https ca-certificates apparmor-profiles lxc apparmor apparmor-utils @@ -26,13 +30,6 @@ VOLUME ['/var/lib/docker'] # && git fetch -p origin +refs/pull/*/head:refs/pull/* """ >> Dockerfile 10-build.sh 20-run.sh "--name=runbot-FEAT" -
moylop260 revised this gist
Jul 29, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -14,7 +14,7 @@ echo """ # RUN apt-get install apt-transport-https ca-certificates apparmor-profiles lxc apparmor apparmor-utils RUN apt-get install libapparmor1 libsystemd-journal0 libnfnetlink0 libxtables10 iptables && \ wget https://apt.dockerproject.org/repo/pool/main/d/docker-engine/docker-engine_1.12.0-0~trusty_amd64.deb -O /tmp/docker.deb && \ dpkg -i /tmp/docker.deb && sudo usermod -aG docker root VOLUME ['/var/lib/docker'] # RUN mkdir -p ${HOME}/odoo-extra/runbot/static/repo/https___github.com_odoo_odoo.git \ # && cp -r /.repo_requirements/odoo/.git /root/odoo-extra/runbot/static/repo/https___github.com_odoo_odoo.git \ -
moylop260 revised this gist
Jul 29, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ # -v /mnt/sda1/dkr-in-dkr-volume/runbot:/var/lib/docker # docker-machine vm export DOCKER_SHARE_LOCAL_PATH=${HOME}/dkr-in-dkr-volume t2dl git@github.com:Vauxoo/runbot-addons.git 9.0 --run-extra-args="--privileged -v ${DOCKER_SHARE_LOCAL_PATH}/runbot:/var/lib/docker --entrypoint=bash" cd ~/.t2d/script/git_github.com_Vauxoo_runbot-addons.git/9.0/2 sed -i '' '/docker/d' files/install # Linux: sed -i '/docker/d' files/install -
moylop260 revised this gist
Jul 29, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -8,8 +8,8 @@ export DOCKER_SHARE_LOCAL_PATH=${HOME}/dkr-in-dkr-volume t2d git@github.com:Vauxoo/runbot-addons.git 9.0 --run-extra-args="--privileged -v ${DOCKER_SHARE_LOCAL_PATH}/runbot:/var/lib/docker --entrypoint=bash" cd ~/.t2d/script/git_github.com_Vauxoo_runbot-addons.git/9.0/2 sed -i '' '/docker/d' files/install # Linux: sed -i '/docker/d' files/install echo """ # RUN apt-get install apt-transport-https ca-certificates apparmor-profiles lxc apparmor apparmor-utils RUN apt-get install libapparmor1 libsystemd-journal0 libnfnetlink0 libxtables10 iptables && \ -
moylop260 revised this gist
Jul 29, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -13,7 +13,7 @@ sed -i '/docker/d' files/install echo """ # RUN apt-get install apt-transport-https ca-certificates apparmor-profiles lxc apparmor apparmor-utils RUN apt-get install libapparmor1 libsystemd-journal0 libnfnetlink0 libxtables10 iptables && \ wget https://apt.dockerproject.org/repo/pool/main/d/docker-engine/docker-engine_1.12.0-0~trusty_amd64.deb -O /tmp/docker.deb && \ dpkg -i /tmp/docker.deb VOLUME ['/var/lib/docker'] # RUN mkdir -p ${HOME}/odoo-extra/runbot/static/repo/https___github.com_odoo_odoo.git \ -
moylop260 revised this gist
Jul 29, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -11,7 +11,7 @@ cd ~/.t2d/script/git_github.com_Vauxoo_runbot-addons.git/9.0/2 sed -i '/docker/d' files/install # mac: sed -i '' '/docker/d' files/install echo """ # RUN apt-get install apt-transport-https ca-certificates apparmor-profiles lxc apparmor apparmor-utils RUN apt-get install libapparmor1 libsystemd-journal0 libnfnetlink0 libxtables10 iptables && \ wget https://apt.dockerproject.org/repo/pool/main/d/docker-engine/docker-engine_1.10.3-0~trusty_amd64.deb -O /tmp/docker.deb && \ dpkg -i /tmp/docker.deb -
moylop260 revised this gist
Jul 29, 2016 . 1 changed file with 9 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -11,18 +11,19 @@ cd ~/.t2d/script/git_github.com_Vauxoo_runbot-addons.git/9.0/2 sed -i '/docker/d' files/install # mac: sed -i '' '/docker/d' files/install echo """ RUN apt-get install apt-transport-https ca-certificates apparmor-profiles lxc apparmor apparmor-utils RUN apt-get install libapparmor1 libsystemd-journal0 libnfnetlink0 libxtables10 iptables && \ wget https://apt.dockerproject.org/repo/pool/main/d/docker-engine/docker-engine_1.10.3-0~trusty_amd64.deb -O /tmp/docker.deb && \ dpkg -i /tmp/docker.deb VOLUME ['/var/lib/docker'] # RUN mkdir -p ${HOME}/odoo-extra/runbot/static/repo/https___github.com_odoo_odoo.git \ # && cp -r /.repo_requirements/odoo/.git /root/odoo-extra/runbot/static/repo/https___github.com_odoo_odoo.git \ # && cd /root/odoo-extra/runbot/static/repo/https___github.com_odoo_odoo.git \ # && git remote remove oca \ # && git remote remove vauxoo \ # && git remote rename odoo origin \ # && git fetch origin \ # && git fetch -p origin +refs/pull/*/head:refs/pull/* """ >> Dockerfile echo """ -
moylop260 revised this gist
Jul 29, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ # -v /mnt/sda1/dkr-in-dkr-volume/runbot:/var/lib/docker # docker-machine vm export DOCKER_SHARE_LOCAL_PATH=${HOME}/dkr-in-dkr-volume t2d git@github.com:Vauxoo/runbot-addons.git 9.0 --run-extra-args="--privileged -v ${DOCKER_SHARE_LOCAL_PATH}/runbot:/var/lib/docker --entrypoint=bash" cd ~/.t2d/script/git_github.com_Vauxoo_runbot-addons.git/9.0/2 sed -i '/docker/d' files/install # mac: sed -i '' '/docker/d' files/install -
moylop260 revised this gist
Jul 29, 2016 . 1 changed file with 7 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,12 @@ # travis2docker 3.0.0 ```bash # -v /var/run/docker.sock:/var/run/docker.sock" # To run containers from main # -v /root/dkr-in-dkr-volume/runbot:/var/lib/docker # raditz # -v /mnt/sda1/dkr-in-dkr-volume/runbot:/var/lib/docker # docker-machine vm export DOCKER_SHARE_LOCAL_PATH=${HOME}/dkr-in-dkr-volume t2d git@github.com:Vauxoo/runbot-addons.git 9.0 --run-extra-cmds="--privileged -v ${DOCKER_SHARE_LOCAL_PATH}/runbot:/var/lib/docker --entrypoint=bash" cd ~/.t2d/script/git_github.com_Vauxoo_runbot-addons.git/9.0/2 sed -i '/docker/d' files/install # mac: sed -i '' '/docker/d' files/install @@ -29,10 +34,7 @@ docker pull vauxoo/odoo-80-image-shippable-auto 10-build.sh 20-run.sh "--name=runbot-FEAT" ``` -
moylop260 revised this gist
Jul 29, 2016 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,8 @@ RUN apt-get install libapparmor1 libsystemd-journal0 libnfnetlink0 libxtables10 wget https://apt.dockerproject.org/repo/pool/main/d/docker-engine/docker-engine_1.10.3-0~trusty_amd64.deb -O /tmp/docker.deb && \ dpkg -i /tmp/docker.deb VOLUME ['/var/lib/docker'] RUN mkdir -p ${HOME}/odoo-extra/runbot/static/repo/https___github.com_odoo_odoo.git \ && cp -r /.repo_requirements/odoo/.git /root/odoo-extra/runbot/static/repo/https___github.com_odoo_odoo.git \ && cd /root/odoo-extra/runbot/static/repo/https___github.com_odoo_odoo.git \ && git remote remove oca \ && git remote remove vauxoo \ -
moylop260 revised this gist
Jul 28, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -28,7 +28,7 @@ docker pull vauxoo/odoo-80-image-shippable-auto 10-build.sh 20-run.sh "--entrypoint=bash --privileged=true -v ${DOCKER_SHARE_LOCAL_PATH}/runbot:/var/lib/docker" # or 20-run.sh "--entrypoint=bash -v /var/run/docker.sock:/var/run/docker.sock" # To run containers from main # or raditz 20-run.sh "--entrypoint=bash --privileged=true -v /root/dkr-in-dkr-volume/runbot:/var/lib/docker"` # or dkr-machine 20-run.sh "--entrypoint=bash --privileged=true -v /mnt/sda1/dkr-in-dkr-volume/runbot:/var/lib/docker" -
moylop260 revised this gist
Jul 28, 2016 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,9 @@ cd ~/.t2d/script/git_github.com_Vauxoo_runbot-addons.git/9.0/2 sed -i '/docker/d' files/install # mac: sed -i '' '/docker/d' files/install echo """ RUN apt-get install libapparmor1 libsystemd-journal0 libnfnetlink0 libxtables10 iptables && \ wget https://apt.dockerproject.org/repo/pool/main/d/docker-engine/docker-engine_1.10.3-0~trusty_amd64.deb -O /tmp/docker.deb && \ dpkg -i /tmp/docker.deb VOLUME ['/var/lib/docker'] RUN cp -r /.repo_requirements/odoo/.git /root/odoo-extra/runbot/static/repo/https___github.com_odoo_odoo.git \ && cd /root/odoo-extra/runbot/static/repo/https___github.com_odoo_odoo.git \ -
moylop260 revised this gist
Jul 28, 2016 . 1 changed file with 22 additions and 23 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,11 @@ # travis2docker 3.0.0 ```bash t2d git@github.com:Vauxoo/runbot-addons.git 9.0 cd ~/.t2d/script/git_github.com_Vauxoo_runbot-addons.git/9.0/2 sed -i '/docker/d' files/install # mac: sed -i '' '/docker/d' files/install echo """ RUN curl -sSL https://get.docker.com/ | sh VOLUME ['/var/lib/docker'] RUN cp -r /.repo_requirements/odoo/.git /root/odoo-extra/runbot/static/repo/https___github.com_odoo_odoo.git \ @@ -13,26 +15,23 @@ RUN cp -r /.repo_requirements/odoo/.git /root/odoo-extra/runbot/static/repo/http && git remote rename odoo origin \ && git fetch origin \ && git fetch -p origin +refs/pull/*/head:refs/pull/* """ >> Dockerfile echo """ service docker start docker run -d -p 5000:5000 --name registry registry:2 docker start registry docker pull vauxoo/odoo-80-image-shippable-auto """ >> files/entrypoint.sh 10-build.sh 20-run.sh "--entrypoint=bash --privileged=true -v DOCKER_SHARE_LOCAL_PATH:/var/lib/docker" # or 20-run.sh "--entrypoint=bash -v /var/run/docker.sock:/var/run/docker.sock" # To run containers from main # or raditz 20-run.sh "--entrypoint=bash --privileged=true -v /root/dkr-in-dkr-volume/runbot:/var/lib/docker"` # or dkr-machine 20-run.sh "--entrypoint=bash --privileged=true -v /mnt/sda1/dkr-in-dkr-volume/runbot:/var/lib/docker" ``` ## Clear instance after use: -
moylop260 revised this gist
Mar 26, 2016 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -11,7 +11,8 @@ RUN cp -r /.repo_requirements/odoo/.git /root/odoo-extra/runbot/static/repo/http && git remote remove oca \ && git remote remove vauxoo \ && git remote rename odoo origin \ && git fetch origin \ && git fetch -p origin +refs/pull/*/head:refs/pull/* ``` - Correr con: - `*/2/20-run.sh "--entrypoint=bash --privileged=true -v /var/lib/docker:/var/lib/docker"` -
moylop260 revised this gist
Mar 26, 2016 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -6,6 +6,12 @@ ```bash RUN curl -sSL https://get.docker.com/ | sh VOLUME ['/var/lib/docker'] RUN cp -r /.repo_requirements/odoo/.git /root/odoo-extra/runbot/static/repo/https___github.com_odoo_odoo.git \ && cd /root/odoo-extra/runbot/static/repo/https___github.com_odoo_odoo.git \ && git remote remove oca \ && git remote remove vauxoo \ && git remote rename odoo origin \ && git fetch origin ``` - Correr con: - `*/2/20-run.sh "--entrypoint=bash --privileged=true -v /var/lib/docker:/var/lib/docker"`
NewerOlder