install curl inside docker
This commit is contained in:
parent
66d3efdce3
commit
a633b0cba3
@ -2,6 +2,13 @@ set -ex
|
|||||||
|
|
||||||
. $(dirname $0)/env.sh
|
. $(dirname $0)/env.sh
|
||||||
|
|
||||||
|
install_deps() {
|
||||||
|
if [[ ${DOCKER} == "y" ]]; then
|
||||||
|
apt-get install -y --no-install-recommends \
|
||||||
|
ca-certificates curl
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
install_qemu() {
|
install_qemu() {
|
||||||
case $TARGET in
|
case $TARGET in
|
||||||
powerpc64-unknown-linux-gnu)
|
powerpc64-unknown-linux-gnu)
|
||||||
@ -63,6 +70,7 @@ EOF
|
|||||||
|
|
||||||
main() {
|
main() {
|
||||||
if [[ ${DOCKER:-n} != "y" ]]; then
|
if [[ ${DOCKER:-n} != "y" ]]; then
|
||||||
|
install_deps
|
||||||
install_qemu
|
install_qemu
|
||||||
install_binutils
|
install_binutils
|
||||||
install_c_toolchain
|
install_c_toolchain
|
||||||
|
Loading…
Reference in New Issue
Block a user