Skip to content

Instantly share code, notes, and snippets.

@ilibar-zpt
Created October 31, 2023 12:47
Show Gist options
  • Save ilibar-zpt/77a62abd003e51eacd91913c64e399f9 to your computer and use it in GitHub Desktop.
Save ilibar-zpt/77a62abd003e51eacd91913c64e399f9 to your computer and use it in GitHub Desktop.
docker build -t vroomvrp/vroom-docker:v1.13.0 --build-arg VROOM_RELEASE=v1.13.0 --build-arg VROOM_EXPRESS_RELEASE=v0.11.0 .
[+] Building 23.7s (9/15) docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.74kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 64B 0.0s
=> [internal] load metadata for docker.io/library/node:12-bullseye-slim 1.4s
=> [internal] load metadata for docker.io/library/debian:bullseye-slim 0.0s
=> [builder 1/5] FROM docker.io/library/debian:bullseye-slim 0.0s
=> CACHED [runstage 1/6] FROM docker.io/library/node:12-bullseye-slim@sha256:730e5fe497e70bac60bb2bb6ec55007ddedbf6c49ce577820614c4873399ee7e 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 42B 0.0s
=> CACHED [builder 2/5] RUN echo "Updating apt-get and installing dependencies..." && apt-get -y update > /dev/null && apt-get -y install > /dev/null git-core build-essential 0.0s
=> ERROR [builder 3/5] RUN echo "Cloning and installing vroom release v1.13.0..." && git clone --recurse-submodules https://github.com/VROOM-Project/vroom.git && cd vroom & 22.2s
------
> [builder 3/5] RUN echo "Cloning and installing vroom release v1.13.0..." && git clone --recurse-submodules https://github.com/VROOM-Project/vroom.git && cd vroom && git fetch --tags && git checkout -q v1.13.0 && make -C /vroom/src -j$(nproc) && cd /:
0.261 Cloning and installing vroom release v1.13.0...
0.262 Cloning into 'vroom'...
1.954 Submodule 'include/cxxopts' (https://github.com/jarro2783/cxxopts) registered for path 'include/cxxopts'
1.954 Submodule 'include/polylineencoder' (https://github.com/vahancho/polylineencoder) registered for path 'include/polylineencoder'
1.954 Submodule 'include/rapidjson' (https://github.com/Tencent/rapidjson) registered for path 'include/rapidjson'
1.959 Cloning into '/vroom/include/cxxopts'...
2.723 Cloning into '/vroom/include/polylineencoder'...
3.391 Cloning into '/vroom/include/rapidjson'...
7.895 Submodule path 'include/cxxopts': checked out 'eb787304d67ec22f7c3a184ee8b4c481d04357fd'
7.935 Submodule path 'include/polylineencoder': checked out '01823158e6d2f227c2a001d6739d0a4bdbc60f26'
8.008 Submodule path 'include/rapidjson': checked out '973dc9c06dcd3d035ebd039cfb9ea457721ec213'
8.013 Submodule 'thirdparty/gtest' (https://github.com/google/googletest.git) registered for path 'include/rapidjson/thirdparty/gtest'
8.018 Cloning into '/vroom/include/rapidjson/thirdparty/gtest'...
11.07 Submodule path 'include/rapidjson/thirdparty/gtest': checked out 'ba96d0b1161f540656efdaed035b3c062b60e006'
11.61 warning: unable to rmdir 'include/rapidjson': Directory not empty
11.63 make: Entering directory '/vroom/src'
11.64 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c main.cpp -o main.o
11.64 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c algorithms/kruskal.cpp -o algorithms/kruskal.o
11.65 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c algorithms/munkres.cpp -o algorithms/munkres.o
11.65 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c algorithms/heuristics/heuristics.cpp -o algorithms/heuristics/heuristics.o
11.65 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c algorithms/local_search/local_search.cpp -o algorithms/local_search/local_search.o
11.65 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c algorithms/local_search/operator.cpp -o algorithms/local_search/operator.o
11.65 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c algorithms/validation/check.cpp -o algorithms/validation/check.o
11.65 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c algorithms/validation/choose_ETA.cpp -o algorithms/validation/choose_ETA.o
11.65 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c routing/http_wrapper.cpp -o routing/http_wrapper.o
11.65 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c routing/ors_wrapper.cpp -o routing/ors_wrapper.o
11.65 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c routing/osrm_routed_wrapper.cpp -o routing/osrm_routed_wrapper.o
11.65 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c routing/valhalla_wrapper.cpp -o routing/valhalla_wrapper.o
11.65 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/vrp.cpp -o problems/vrp.o
11.65 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/cvrp/cvrp.cpp -o problems/cvrp/cvrp.o
11.65 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/tsp/tsp.cpp -o problems/tsp/tsp.o
11.65 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/vrptw/vrptw.cpp -o problems/vrptw/vrptw.o
12.62 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/cvrp/operators/cross_exchange.cpp -o problems/cvrp/operators/cross_exchange.o
13.07 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/cvrp/operators/intra_cross_exchange.cpp -o problems/cvrp/operators/intra_cross_exchange.o
13.12 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/cvrp/operators/intra_exchange.cpp -o problems/cvrp/operators/intra_exchange.o
13.25 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/cvrp/operators/intra_mixed_exchange.cpp -o problems/cvrp/operators/intra_mixed_exchange.o
13.64 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/cvrp/operators/intra_or_opt.cpp -o problems/cvrp/operators/intra_or_opt.o
13.87 main.cpp: In function 'int main(int, char**)':
13.87 main.cpp:105:22: error: 'OptionException' is not a member of 'cxxopts'
13.87 105 | throw cxxopts::OptionException("Argument '" + limit_arg +
13.87 | ^~~~~~~~~~~~~~~
13.87 main.cpp:118:42: error: expected unqualified-id before '&' token
13.87 118 | } catch (const cxxopts::OptionException& e) {
13.87 | ^
13.87 main.cpp:118:42: error: expected ')' before '&' token
13.87 118 | } catch (const cxxopts::OptionException& e) {
13.87 | ~ ^
13.87 | )
13.87 main.cpp:118:42: error: expected '{' before '&' token
13.87 main.cpp:118:44: error: 'e' was not declared in this scope
13.87 118 | } catch (const cxxopts::OptionException& e) {
13.87 | ^
14.07 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/cvrp/operators/intra_relocate.cpp -o problems/cvrp/operators/intra_relocate.o
14.45 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/cvrp/operators/intra_two_opt.cpp -o problems/cvrp/operators/intra_two_opt.o
14.55 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/cvrp/operators/mixed_exchange.cpp -o problems/cvrp/operators/mixed_exchange.o
14.62 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/cvrp/operators/or_opt.cpp -o problems/cvrp/operators/or_opt.o
14.93 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/cvrp/operators/pd_shift.cpp -o problems/cvrp/operators/pd_shift.o
15.19 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/cvrp/operators/relocate.cpp -o problems/cvrp/operators/relocate.o
15.41 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/cvrp/operators/reverse_two_opt.cpp -o problems/cvrp/operators/reverse_two_opt.o
15.43 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/cvrp/operators/route_exchange.cpp -o problems/cvrp/operators/route_exchange.o
16.02 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/cvrp/operators/route_split.cpp -o problems/cvrp/operators/route_split.o
16.09 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/cvrp/operators/swap_star.cpp -o problems/cvrp/operators/swap_star.o
16.13 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/cvrp/operators/two_opt.cpp -o problems/cvrp/operators/two_opt.o
16.26 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/cvrp/operators/unassigned_exchange.cpp -o problems/cvrp/operators/unassigned_exchange.o
16.46 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/tsp/heuristics/christofides.cpp -o problems/tsp/heuristics/christofides.o
16.53 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/tsp/heuristics/local_search.cpp -o problems/tsp/heuristics/local_search.o
16.64 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/vrptw/operators/cross_exchange.cpp -o problems/vrptw/operators/cross_exchange.o
16.84 g++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -D USE_LIBGLPK=true -c problems/vrptw/operators/intra_cross_exchange.cpp -o problems/vrptw/operators/intra_cross_exchange.o
16.86 make: *** [makefile:76: main.o] Error 1
16.86 make: *** Waiting for unfinished jobs....
22.16 make: Leaving directory '/vroom/src'
------
Dockerfile:18
--------------------
17 |
18 | >>> RUN echo "Cloning and installing vroom release ${VROOM_RELEASE}..." && \
19 | >>> git clone --recurse-submodules https://github.com/VROOM-Project/vroom.git && \
20 | >>> cd vroom && \
21 | >>> git fetch --tags && \
22 | >>> git checkout -q $VROOM_RELEASE && \
23 | >>> make -C /vroom/src -j$(nproc) && \
24 | >>> cd /
25 |
--------------------
ERROR: failed to solve: process "/bin/sh -c echo \"Cloning and installing vroom release ${VROOM_RELEASE}...\" && git clone --recurse-submodules https://github.com/VROOM-Project/vroom.git && cd vroom && git fetch --tags && git checkout -q $VROOM_RELEASE && make -C /vroom/src -j$(nproc) && cd /" did not complete successfully: exit code: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment