really install curl inside docker
This commit is contained in:
parent
a633b0cba3
commit
4b453fbd0a
|
@ -29,6 +29,7 @@ case $TARGET in
|
|||
export QEMU_LD_PREFIX=/usr/powerpc-linux-gnu
|
||||
;;
|
||||
powerpc64le-unknown-linux-gnu)
|
||||
# NOTE $DOCKER values: 'y' (yes, call docker), 'i' (inside a docker container) or 'n' ("no)
|
||||
if [[ -z $DOCKER ]]; then
|
||||
export DOCKER=y
|
||||
fi
|
||||
|
|
|
@ -3,7 +3,7 @@ set -ex
|
|||
. $(dirname $0)/env.sh
|
||||
|
||||
install_deps() {
|
||||
if [[ ${DOCKER} == "y" ]]; then
|
||||
if [[ ${DOCKER} == "i" ]]; then
|
||||
apt-get install -y --no-install-recommends \
|
||||
ca-certificates curl
|
||||
fi
|
||||
|
|
|
@ -34,7 +34,7 @@ inspect() {
|
|||
main() {
|
||||
if [[ $DOCKER == "y" ]]; then
|
||||
docker run \
|
||||
-e DOCKER=n \
|
||||
-e DOCKER=i \
|
||||
-e TARGET=$TARGET \
|
||||
-e TRAVIS_OS_NAME=$TRAVIS_OS_NAME \
|
||||
-v $(pwd):/mnt \
|
||||
|
|
Loading…
Reference in New Issue