File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1+ arch :
2+ - amd64
3+ - ppc64le
14services :
25 - docker
36script : .travis/run-in-docker
Original file line number Diff line number Diff line change 11#! /bin/bash -x
22
3+ # we don't use the '-t' docker run flag because it is not supported on ppc64le
4+ # archictecture on Travis and throws an error "The input device is not a TTY"
5+
36container_id=$(
4- docker run -d -ti -v ` pwd` :/workdir:Z -u $( id -u) registry.fedoraproject.org/fedora bash
5- )
7+ docker run -d -i -v ` pwd` :/workdir:Z -u $( id -u) registry.fedoraproject.org/fedora bash
8+ )
69
710cleanup ()
811{
@@ -18,7 +21,7 @@ run_in_container ()
1821 uid=0
1922 fi
2023
21- docker exec -u $uid -ti " $container_id " " $@ "
24+ docker exec -u $uid -i " $container_id " " $@ "
2225}
2326
2427buildrequires='
You can’t perform that action at this time.
0 commit comments