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
1
4
services :
2
5
- docker
3
6
script : .travis/run-in-docker
Original file line number Diff line number Diff line change 1
1
#! /bin/bash -x
2
2
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
+
3
6
container_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
+ )
6
9
7
10
cleanup ()
8
11
{
@@ -18,7 +21,7 @@ run_in_container ()
18
21
uid=0
19
22
fi
20
23
21
- docker exec -u $uid -ti " $container_id " " $@ "
24
+ docker exec -u $uid -i " $container_id " " $@ "
22
25
}
23
26
24
27
buildrequires='
You can’t perform that action at this time.
0 commit comments