Skip to content

Commit

Permalink
fix: docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Jul 2, 2024
1 parent 6b32059 commit a598ee0
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,5 @@ RUN apt install curl -y
RUN apt install -y build-essential cmake lsb-release
RUN mkdir -p /algorithms/src/routing/plugins
COPY ./or-tools .
RUN curl -L https://github.com/google/or-tools/releases/download/v9.5/or-tools_amd64_debian-11_cpp_v9.5.2237.tar.gz -o ortools.tar.gz
RUN cat ortools.tar.gz | tar -xzf - && \
cd or-tools_* && \
mkdir examples/koji && \
cp /tsp/tsp.cc ./examples/koji/koji.cc && \
cp /tsp/CMakeLists.txt ./examples/koji/CMakeLists.txt && \
make build SOURCE=examples/koji/koji.cc && \
mv ./examples/koji/build/bin/koji /algorithms/src/routing/plugins/tsp
RUN ./or-tools/install.sh
CMD koji

0 comments on commit a598ee0

Please sign in to comment.