From ada3e857fb56fe939b64372a16824fb720b31f69 Mon Sep 17 00:00:00 2001 From: Hiroaki Santo <35059904+hiroaki-santo@users.noreply.github.com> Date: Wed, 12 May 2021 13:08:06 +0900 Subject: [PATCH 1/2] fix Ceres version to 1.14.0 --- docker/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 1c4dd08..7564dc5 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -29,8 +29,8 @@ RUN apt-get update && apt-get install -y \ RUN cd /opt WORKDIR /opt RUN apt-get install -y libatlas-base-dev libsuitesparse-dev libgoogle-glog-dev libeigen3-dev libsuitesparse-dev -RUN git clone https://ceres-solver.googlesource.com/ceres-solver -RUN cd ceres-solver +RUN git clone https://ceres-solver.googlesource.com/ceres-solver \ + && cd ceres-solver && git checkout 1.14.0 WORKDIR /opt/ceres-solver RUN mkdir build RUN cd build @@ -143,4 +143,4 @@ EXPOSE 8888 RUN mkdir -p /workspace WORKDIR /workspace -RUN chmod -R a+w /workspace \ No newline at end of file +RUN chmod -R a+w /workspace From 618182e960c748d25559794c106dbed4dc50c415 Mon Sep 17 00:00:00 2001 From: Hiroaki Santo <35059904+hiroaki-santo@users.noreply.github.com> Date: Wed, 12 May 2021 13:51:26 +0900 Subject: [PATCH 2/2] install pip for python2 --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 7564dc5..dc3b0d2 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -90,7 +90,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ apt-get clean && \ rm -rf /var/lib/apt/lists/* -RUN curl -O https://bootstrap.pypa.io/get-pip.py && \ +RUN curl -O https://bootstrap.pypa.io/pip/2.7/get-pip.py && \ python get-pip.py && \ rm get-pip.py