File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,10 @@ addons:
1313
1414before_install :
1515 - export TRAVIS_TAG=`mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec`
16- - echo $TRAVIS_TAG
1716 - docker build -t android-dispatch .
18- - docker run -it -d --user build --name dispatch-container -v `pwd`:/home/build/app - e TRAVIS_TAG=$TRAVIS_TAG android-dispatch bash
17+ - docker run -it -d --user build --name dispatch-container -e TRAVIS_TAG=$TRAVIS_TAG android-dispatch bash
1918
2019script :
21- - docker exec --user build dispatch-container sh ls -al /home/build/app
22- - docker exec --user build dispatch-container sh whoami
2320 - docker exec --user build dispatch-container sh /home/build/app/dispatch.sh
2421 - docker exec --user build dispatch-container sh /home/build/app/package.sh
2522
Original file line number Diff line number Diff line change @@ -67,4 +67,6 @@ RUN useradd build -m -u 112
6767USER build
6868
6969RUN mkdir -p /home/build/.m2 && mkdir -p /home/build/app
70- WORKDIR /home/build/app
70+ COPY . /home/build/app/
71+
72+ WORKDIR /home/build/app/
You can’t perform that action at this time.
0 commit comments