diff --git a/Dockerfile.kinetic b/Dockerfile.kinetic index 72f0e41d2..6ed1525ca 100644 --- a/Dockerfile.kinetic +++ b/Dockerfile.kinetic @@ -16,16 +16,13 @@ FROM ros:kinetic ARG CARTOGRAPHER_VERSION=master -# We require a GitHub access token to be passed. -ARG github_token - # Xenial's base image doesn't ship with sudo. RUN apt-get update && apt-get install -y sudo && rm -rf /var/lib/apt/lists/* # First, we invalidate the entire cache if cartographer-project/cartographer has # changed. This file's content changes whenever master changes. See: # http://stackoverflow.com/questions/36996046/how-to-prevent-dockerfile-caching-git-clone -ADD https://api.github.com/repos/cartographer-project/cartographer/git/refs/heads/master?access_token=$github_token \ +ADD https://api.github.com/repos/larics/cartographer/git/refs/heads/master \ cartographer_ros/cartographer_version.json # wstool needs the updated rosinstall file to clone the correct repos. diff --git a/Dockerfile.noetic b/Dockerfile.noetic index 97cf6e174..7328eae42 100644 --- a/Dockerfile.noetic +++ b/Dockerfile.noetic @@ -16,9 +16,6 @@ FROM ros:noetic ARG CARTOGRAPHER_VERSION=master -# We require a GitHub access token to be passed. -ARG github_token - # Prevent any interaction required by apt-get. # https://stackoverflow.com/questions/22466255 ARG DEBIAN_FRONTEND=noninteractive @@ -29,7 +26,7 @@ RUN apt-get update && apt-get install -y sudo git && rm -rf /var/lib/apt/lists/* # First, we invalidate the entire cache if cartographer-project/cartographer has # changed. This file's content changes whenever master changes. See: # http://stackoverflow.com/questions/36996046/how-to-prevent-dockerfile-caching-git-clone -ADD https://api.github.com/repos/cartographer-project/cartographer/git/refs/heads/master?access_token=$github_token \ +ADD https://api.github.com/repos/larics/cartographer/git/refs/heads/master \ cartographer_ros/cartographer_version.json # wstool needs the updated rosinstall file to clone the correct repos. diff --git a/cartographer_ros.rosinstall b/cartographer_ros.rosinstall index 6927cb835..644962ba9 100644 --- a/cartographer_ros.rosinstall +++ b/cartographer_ros.rosinstall @@ -1,3 +1,3 @@ -- git: {local-name: cartographer, uri: 'https://github.com/cartographer-project/cartographer.git', version: '1.0.0'} +- git: {local-name: cartographer, uri: 'https://github.com/larics/cartographer.git'} - git: {local-name: cartographer_ros, uri: 'https://github.com/cartographer-project/cartographer_ros.git', version: '1.0.0'} - git: {local-name: ceres-solver, uri: 'https://ceres-solver.googlesource.com/ceres-solver.git', version: '1.13.0'}