jsk-ros-pkg/Dockerfile for speedup jsk_travis

Dockerfile for speedup jsk_travis, try docker run --rm -ti jskrobotics:ros-ubuntu:18.04-pcl

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Jul 22, 2025
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: jsk-ros-pkg/jsk_travis@e28b2ff6a142ac6ae49c636753d33a98f2f603d3 # 0.5.28

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
ROS_DISTROSpecify your target distribution of ROSyesmelodic
ADDITIONAL_ENV_TO_DOCKERSpecify environment variables you want to pass to docker on travis/jenkins. You can specify multiple variables separated by a space. e.g. `IS_EUSLISP_TRAVIS_TEST IS_GAZEBO_TRAVIS_TEST`
BEFORE_SCRIPT`BEFORE_SCRIPT` is used to specify shell commands which run before building packages. Some characters won\'t work without escaping it for xml on Jenkins. (see: [here](https://github.com/jsk-ros-pkg/jsk_travis/issues/171))
BUILD_PKGSYou can specify the packages to build and test. If your repository has some troubles about several packages, you can ignore them by this option like `BUILD_PKGS="jsk_pcl_ros jsk_recognition_msgs"`.
CATKIN_PARALLEL_JOBSThe number of catkin parallel processes in build.
CATKIN_PARALLEL_TEST_JOBSThe number of catkin parallel processes in test. -p4
CATKIN_TOOLS_BUILD_OPTIONSOptions to be passed like `catkin build $CATKIN_TOOLS_BUILD_OPTIONS`. (default: `-iv --summarize --no-status` for `catkin-tools==0.3.X` and `--summarize --no-status` for `catkin-tools` of other version.)
CATKIN_TOOLS_CONFIG_OPTIONSOptions to be passed like `catkin config $CATKIN_TOOLS_CONFIG_OPTIONS`.
CMAKE_DEVELOPER_ERRORFlag to show CMake developer error in catkin run_tests.
DEBUG_TRAVIS_PYTHONSpecify python command to run within travis/docker/jenkins, for example set `DEBUG_TRAVIS_PYTHON` to `python -v`
DOCKER_IMAGE_JENKINSDocker image used in Jenkins., (defualt: `ros-ubuntu:$(lsb_release -sr)`)
TIMEOUT_JENKINSTimeout minutes in Jenkins., (defualt: 120)
EXTRA_DEBYou can specify extra deb packages by `EXTRA_DEB` variable. The packages are installed before building packages.
NOT_TEST_INSTALLFlag to skip testing catkin install in addition to devel build. i.e. If true, skip testing.
ROSDEP_ADDITIONAL_OPTIONSThe options passed when rosdep install.(default: \'-n -q -r --ignore-src\')
ROSDEP_UPDATE_QUIETSet true to disable verbose option for \'rosdep update\'
ROS_LOG_DIRSpecify ROS_LOG_DIR (http://wiki.ros.org/ROS/EnvironmentVariables#ROS_LOG_DIR), otherwise uses ~/.ros/test_results
ROS_PARALLEL_JOBSSpecify ROS_PARALLEL_JOBS environment, (defult: -j8)
ROS_PARALLEL_TEST_JOBSSpecify ROS_PARALLEL_TEST_JOBS environment, (defult: -j8)
ROS_PYTHON_VERSIONSpecify your target python version used of ROS. Available from Noetic. see [Build Using Python3](http://wiki.ros.org/UsingPython3/BuildUsingPython3) and [rep 149](https://github.com/ros-infrastructure/rep/blob/master/rep-0149.rst)
ROS_REPOSITORY_PATHSpecify ROS repository path, (defualt: http://packages.ros.org/ros-testing/ubuntu)
TARGET_PKGSSpecify packages to build
TEST_PKGSSpecify packages to test
USE_CATKIN_MAKESet true to use `catkin_make`
USE_DEBIf `false`, travis firstly sees [config files](https://github.com/jsk-ros-pkg/jsk_travis#config-files) to resolve dependencies and then installs left dependencies by apt. If `source`, travis does not sees [config files](https://github.com/jsk-ros-pkg/jsk_travis#config-files) but runs `setup_upstream.sh` file. See [here](https://github.com/jsk-ros-pkg/jsk_roseus) for example.
USE_JENKINSForce to run test on jenkins. jenkins server is more powerful than travis environment, so we can use jenkins to compile pcl-related packages such as [jsk_recognition](https://github.com/jsk-ros-pkg/jsk_recognition.git). This variable needs to be `true` to run test with [container-based travis environment](http://docs.travis-ci.com/user/workers/container-based-infrastructure/). This overwrites default configuration described [here](https://github.com/jsk-ros-pkg/jsk_travis#where-test-runs). false
USE_PYTHON_VIRTUALENVSet true to use python virtualenv
USE_TRAVISforce to run test on Github Actions

no outputs