Skip to content

Commit 8fa3ac9

Browse files
author
Martin Schwamberger
committed
Run travis container as build user
1 parent 2cd1d37 commit 8fa3ac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ before_install:
1515
- export TRAVIS_TAG=`mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec`
1616
- echo $TRAVIS_TAG
1717
- docker build -t android-dispatch .
18-
- docker run -it -d -u 112 --name dispatch-container -v `pwd`:/home/build/app -e TRAVIS_TAG=$TRAVIS_TAG android-dispatch bash
18+
- docker run -it -d --user build --name dispatch-container -v `pwd`:/home/build/app -e TRAVIS_TAG=$TRAVIS_TAG android-dispatch bash
1919

2020
script:
2121
- docker exec dispatch-container sh /home/build/app/dispatch.sh

0 commit comments

Comments
 (0)