diff --git a/travis_custom/Dockerfile b/travis_custom/Dockerfile index 1bc6caf3f822e9325e61c2e27e0d08cefda8347e..75242434a3a7bc16293992c03fa977f19489b1c6 100644 --- a/travis_custom/Dockerfile +++ b/travis_custom/Dockerfile @@ -10,7 +10,7 @@ RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo USER root ADD /travis_custom/sudoers.txt /etc/sudoers -ADD /travis_custom/setup-opt-robotpkg.sh /etc/profile.d +ADD /travis_custom/setup-opt-robotpkg.sh /home/docker/.bashrc RUN chmod 440 /etc/sudoers USER docker diff --git a/travis_custom/setup-opt-robotpkg.sh b/travis_custom/setup-opt-robotpkg.sh index 891921f3dbf185a3820141ab612d7ea6b3386587..34fa4a9c41fd52c31bc4469c42e84b8915fc76f6 100755 --- a/travis_custom/setup-opt-robotpkg.sh +++ b/travis_custom/setup-opt-robotpkg.sh @@ -1,4 +1,3 @@ -#!/bin/bash export ROBOTPKG_BASE=/opt/openrobots export PATH=$PATH:$ROBOTPKG_BASE/sbin:$ROBOTPKG_BASE/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROBOTPKG_BASE/lib:$ROBOTPKG_BASE/lib/plugin:$ROBOTPKG_BASE/lib64