From 3208bda278c91ef08c19d07b9623657fd86cfb59 Mon Sep 17 00:00:00 2001 From: Benjamin Lee <130000039+benlee0423@users.noreply.github.com> Date: Mon, 5 Aug 2024 09:34:36 -0700 Subject: [PATCH] Fix for latest ngen build error (#212) * use ngen latest * use pybind11 for newer version --- docker/Dockerfile.ngen | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile.ngen b/docker/Dockerfile.ngen index b8cf63b..c599f6c 100644 --- a/docker/Dockerfile.ngen +++ b/docker/Dockerfile.ngen @@ -3,7 +3,7 @@ ################################################################################################################ ARG REPO_URL=https://github.com/NOAA-OWP/ngen.git \ BRANCH=master \ - COMMIT=f91e2ea \ + COMMIT \ TAG_NAME ################################################################################################################ @@ -29,6 +29,9 @@ RUN if [ "x$COMMIT" != "x" ]; then \ && git submodule update --init --depth 1 test/googletest \ && git submodule update --init --recursive --depth 1 +# delete the pybind11 directory and re-clone it with newer version +RUN cd /ngen/ngen/extern && rm -rf pybind11 && git clone https://github.com/pybind/pybind11.git && cd pybind11 && git checkout v2.11.0 + # Make an alias for t-route with tag name FROM awiciroh/t-route:${TAG_NAME} as troute