do not use mounted directory direclty in docker

This commit is contained in:
Cyryl Płotnicki-Chudyk 2016-06-24 14:46:12 +02:00
parent 66c479c1a0
commit 7d5db6c9e2
3 changed files with 8 additions and 1 deletions

View file

@ -1,6 +1,6 @@
language: bash language: bash
script: docker run -v `pwd`:/root/dev/dotfiles/ debian:jessie /root/dev/dotfiles/bunsen/test script: ./bunsen/test_outsider
sudo: required sudo: required

View file

@ -11,5 +11,9 @@ echo "APT::Acquire::Retries=16;" >> /etc/apt/apt.conf.d/99_retries
apt-get update apt-get update
apt-get install sudo apt-get install sudo
cd $HOME cd $HOME
mkdir -p dev/dotfiles/
cp -rv temp/dotfiles dev/dotfiles
./dev/dotfiles/bunsen/configure_fresh_system ./dev/dotfiles/bunsen/configure_fresh_system

3
bunsen/test_outsider Normal file
View file

@ -0,0 +1,3 @@
#!/bin/bash
docker run -v `pwd`:/root/temp/dotfiles/ debian:jessie /root/temp/dotfiles/bunsen/test