do not use mounted directory direclty in docker
This commit is contained in:
parent
66c479c1a0
commit
7d5db6c9e2
3 changed files with 8 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
3
bunsen/test_outsider
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
docker run -v `pwd`:/root/temp/dotfiles/ debian:jessie /root/temp/dotfiles/bunsen/test
|
Loading…
Reference in a new issue