Skip to content

Commit

Permalink
Fix for latest ngen build error (#212)
Browse files Browse the repository at this point in the history
* use ngen latest

* use pybind11 for newer version
  • Loading branch information
benlee0423 authored Aug 5, 2024
1 parent 97a5138 commit 3208bda
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/Dockerfile.ngen
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
################################################################################################################
ARG REPO_URL=https://github.com/NOAA-OWP/ngen.git \
BRANCH=master \
COMMIT=f91e2ea \
COMMIT \
TAG_NAME

################################################################################################################
Expand All @@ -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

Expand Down

0 comments on commit 3208bda

Please sign in to comment.