Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add libgdal to final docker image #4629

Merged
merged 1 commit into from Mar 14, 2024
Merged

add libgdal to final docker image #4629

merged 1 commit into from Mar 14, 2024

Conversation

nilsnolde
Copy link
Member

currently the docker build is failing in master when compiling the python bindings. that's pointing to a much bigger problem, where ENABLE_GDAL=ON would currently not even be able to run valhalla_service, because libgdal32 wasn't installed in the final docker image, just in the building intermediate docker image.

@@ -73,7 +73,7 @@ COPY --from=builder /usr/lib/python3/dist-packages/valhalla/* /usr/lib/python3/d
# install all the posix locales that we support
RUN export DEBIAN_FRONTEND=noninteractive && apt update && \
apt install -y \
libcurl4 libczmq4 libluajit-5.1-2 \
libcurl4 libczmq4 libluajit-5.1-2 libgdal32 \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have thought it'd be:

Suggested change
libcurl4 libczmq4 libluajit-5.1-2 libgdal32 \
libcurl4 libczmq4 libluajit-5.1-2 libgdal-dev \

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or oh I guess it's the runner so only need the lib but why 32? is it a version suffix?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok yeah must be the version. unfortunate naming!

Copy link
Member Author

@nilsnolde nilsnolde Mar 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah it’s like “libcurl4”, some (to me) strange sort of .so versioning

@nilsnolde nilsnolde merged commit 663e04e into master Mar 14, 2024
9 checks passed
@nilsnolde nilsnolde deleted the nn-fix-docker-gdal branch March 14, 2024 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants