forked from Archive/PX4-Autopilot
Docker: update images to tag 2017-10-23
This commit is contained in:
parent
4be4ad86a0
commit
2ca00f1a65
|
@ -4,26 +4,25 @@ if [ -z ${PX4_DOCKER_REPO+x} ]; then
|
||||||
echo "guessing PX4_DOCKER_REPO based on input";
|
echo "guessing PX4_DOCKER_REPO based on input";
|
||||||
if [[ $@ =~ .*px4fmu.* ]]; then
|
if [[ $@ =~ .*px4fmu.* ]]; then
|
||||||
# nuttx-px4fmu-v{1,2,3,4,5}
|
# nuttx-px4fmu-v{1,2,3,4,5}
|
||||||
PX4_DOCKER_REPO="px4io/px4-dev-nuttx:2017-08-29"
|
PX4_DOCKER_REPO="px4io/px4-dev-nuttx:2017-10-23"
|
||||||
elif [[ $@ =~ .*rpi.* ]] || [[ $@ =~ .*bebop.* ]]; then
|
elif [[ $@ =~ .*rpi.* ]] || [[ $@ =~ .*bebop.* ]]; then
|
||||||
# posix_rpi_cross, posix_bebop_default
|
# posix_rpi_cross, posix_bebop_default
|
||||||
PX4_DOCKER_REPO="px4io/px4-dev-raspi:2017-08-29"
|
PX4_DOCKER_REPO="px4io/px4-dev-raspi:2017-10-23"
|
||||||
elif [[ $@ =~ .*eagle.* ]] || [[ $@ =~ .*excelsior.* ]]; then
|
elif [[ $@ =~ .*eagle.* ]] || [[ $@ =~ .*excelsior.* ]]; then
|
||||||
# eagle, excelsior
|
# eagle, excelsior
|
||||||
PX4_DOCKER_REPO="lorenzmeier/px4-dev-snapdragon:2017-07-28"
|
PX4_DOCKER_REPO="lorenzmeier/px4-dev-snapdragon:2017-10-23"
|
||||||
elif [[ $@ =~ .*ocpoc.* ]]; then
|
elif [[ $@ =~ .*ocpoc.* ]]; then
|
||||||
# posix_ocpoc_ubuntu
|
# posix_ocpoc_ubuntu
|
||||||
PX4_DOCKER_REPO="px4io/px4-dev-armhf:2017-09-26"
|
PX4_DOCKER_REPO="px4io/px4-dev-armhf:2017-10-23"
|
||||||
elif [[ $@ =~ .*clang.* ]] || [[ $@ =~ .*scan-build.* ]]; then
|
elif [[ $@ =~ .*clang.* ]] || [[ $@ =~ .*scan-build.* ]]; then
|
||||||
# clang tools
|
# clang tools
|
||||||
PX4_DOCKER_REPO="px4io/px4-dev-clang:2017-08-29"
|
PX4_DOCKER_REPO="px4io/px4-dev-clang:2017-10-23"
|
||||||
elif [[ $@ =~ .*cppcheck.* ]]; then
|
elif [[ $@ =~ .*cppcheck.* ]]; then
|
||||||
# need Ubuntu 17.04 for cppcheck cmake support
|
|
||||||
# TODO: remove this once px4io/px4-dev-base updates
|
# TODO: remove this once px4io/px4-dev-base updates
|
||||||
PX4_DOCKER_REPO=px4io/px4-dev-base:ubuntu17.04
|
PX4_DOCKER_REPO="px4io/px4-dev-base:ubuntu17.10"
|
||||||
elif [[ $@ =~ .*tests* ]]; then
|
elif [[ $@ =~ .*tests* ]]; then
|
||||||
# run all tests with simulation
|
# run all tests with simulation
|
||||||
PX4_DOCKER_REPO="px4io/px4-dev-simulation:2017-08-29"
|
PX4_DOCKER_REPO="px4io/px4-dev-simulation:2017-10-23"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "PX4_DOCKER_REPO is set to '$PX4_DOCKER_REPO'";
|
echo "PX4_DOCKER_REPO is set to '$PX4_DOCKER_REPO'";
|
||||||
|
@ -31,7 +30,7 @@ fi
|
||||||
|
|
||||||
# otherwise default to nuttx
|
# otherwise default to nuttx
|
||||||
if [ -z ${PX4_DOCKER_REPO+x} ]; then
|
if [ -z ${PX4_DOCKER_REPO+x} ]; then
|
||||||
PX4_DOCKER_REPO="px4io/px4-dev-nuttx:2017-08-29"
|
PX4_DOCKER_REPO="px4io/px4-dev-nuttx:2017-10-23"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# docker hygiene
|
# docker hygiene
|
||||||
|
|
|
@ -7,7 +7,7 @@ set -e
|
||||||
|
|
||||||
# TODO move to docker image
|
# TODO move to docker image
|
||||||
pip install --upgrade numpy -q
|
pip install --upgrade numpy -q
|
||||||
pip install px4tools pymavlink -q
|
pip install px4tools pymavlink toml -q
|
||||||
|
|
||||||
# A POSIX variable
|
# A POSIX variable
|
||||||
OPTIND=1 # Reset in case getopts has been used previously in the shell.
|
OPTIND=1 # Reset in case getopts has been used previously in the shell.
|
||||||
|
|
Loading…
Reference in New Issue