Title: Error while building docker image with pdal · Issue #103 · PDAL/java · GitHub
Open Graph Title: Error while building docker image with pdal · Issue #103 · PDAL/java
X Title: Error while building docker image with pdal · Issue #103 · PDAL/java
Description: I am making a docker image for my java application, which uses java bindings for pdal. I have added this to my Dockerfile: FROM openjdk:21-jdk-bullseye # Install build dependencies RUN apt-get update && \ apt-get install -y \ cmake \ bui...
Open Graph Description: I am making a docker image for my java application, which uses java bindings for pdal. I have added this to my Dockerfile: FROM openjdk:21-jdk-bullseye # Install build dependencies RUN apt-get upda...
X Description: I am making a docker image for my java application, which uses java bindings for pdal. I have added this to my Dockerfile: FROM openjdk:21-jdk-bullseye # Install build dependencies RUN apt-get upda...
Opengraph URL: https://github.com/PDAL/java/issues/103
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error while building docker image with pdal","articleBody":"I am making a docker image for my java application, which uses java bindings for pdal.\r\n\r\nI have added this to my Dockerfile:\r\n\r\n```\r\nFROM openjdk:21-jdk-bullseye\r\n\r\n# Install build dependencies\r\nRUN apt-get update \u0026\u0026 \\\r\n apt-get install -y \\\r\n cmake \\\r\n build-essential \\\r\n git \\\r\n libboost-all-dev \\\r\n libpdal-dev \\\r\n \u0026\u0026 apt-get clean\r\n\r\n# Clone PDAL repository and build\r\nRUN git clone https://github.com/PDAL/PDAL.git \u0026\u0026 \\\r\n cd PDAL \u0026\u0026 \\\r\n mkdir build \u0026\u0026 \\\r\n cd build \u0026\u0026 \\\r\n cmake .. \u0026\u0026 \\\r\n make \u0026\u0026 \\\r\n make install\r\n\r\n# Clean up\r\nRUN apt-get purge -y --auto-remove \u0026\u0026 \\\r\n rm -rf /var/lib/apt/lists/* /PDAL\r\n```\r\n\r\nBut this throws error:\r\n\r\n```\r\n =\u003e ERROR [3/8] RUN git clone https://github.com/PDAL/PDAL.git \u0026\u0026 cd PDAL \u0026\u0026 mkdir build \u0026\u0026 cd build \u0026\u0026 cmake .. \u0026\u0026 make \u0026\u0026 make install 46.3s \r\n------\r\n \u003e [3/8] RUN git clone https://github.com/PDAL/PDAL.git \u0026\u0026 cd PDAL \u0026\u0026 mkdir build \u0026\u0026 cd build \u0026\u0026 cmake .. \u0026\u0026 make \u0026\u0026 make install:\r\n0.248 Cloning into 'PDAL'...\r\n46.02 -- The CXX compiler identification is GNU 10.2.1\r\n46.05 -- The C compiler identification is GNU 10.2.1\r\n46.06 -- Detecting CXX compiler ABI info\r\n46.11 -- Detecting CXX compiler ABI info - done\r\n46.12 -- Check for working CXX compiler: /usr/bin/c++ - skipped\r\n46.12 -- Detecting CXX compile features\r\n46.12 -- Detecting CXX compile features - done\r\n46.13 -- Detecting C compiler ABI info\r\n46.17 -- Detecting C compiler ABI info - done\r\n46.18 -- Check for working C compiler: /usr/bin/cc - skipped\r\n46.18 -- Detecting C compile features\r\n46.18 -- Detecting C compile features - done\r\n46.19 -- Could NOT find LIBEXECINFO (missing: LIBEXECINFO_LIBRARY)\r\n46.19 -- Could NOT find LIBUNWIND (missing: LIBUNWIND_LIBRARY LIBUNWIND_INCLUDE_DIR)\r\n46.19 CMake Error at cmake/proj.cmake:1 (find_package):\r\n46.19 Could not find a package configuration file provided by \"PROJ\" (requested\r\n46.19 version 9.0) with any of the following names:\r\n46.19\r\n46.19 PROJConfig.cmake\r\n46.19 proj-config.cmake\r\n46.19\r\n46.19 Add the installation prefix of \"PROJ\" to CMAKE_PREFIX_PATH or set\r\n46.19 \"PROJ_DIR\" to a directory containing one of the above files. If \"PROJ\"\r\n46.19 provides a separate development package or SDK, be sure it has been\r\n46.19 installed.\r\n46.19 Call Stack (most recent call first):\r\n46.19 CMakeLists.txt:102 (include)\r\n46.19\r\n46.19\r\n46.19 -- Configuring incomplete, errors occurred!\r\n46.19 See also \"/PDAL/build/CMakeFiles/CMakeOutput.log\".\r\n------\r\nDockerfile:17\r\n--------------------\r\n 16 | # Clone PDAL repository and build\r\n 17 | \u003e\u003e\u003e RUN git clone https://github.com/PDAL/PDAL.git \u0026\u0026 \\\r\n 18 | \u003e\u003e\u003e cd PDAL \u0026\u0026 \\\r\n 19 | \u003e\u003e\u003e mkdir build \u0026\u0026 \\\r\n 20 | \u003e\u003e\u003e cd build \u0026\u0026 \\\r\n 21 | \u003e\u003e\u003e cmake .. \u0026\u0026 \\\r\n 22 | \u003e\u003e\u003e make \u0026\u0026 \\\r\n 23 | \u003e\u003e\u003e make install\r\n 24 |\r\n--------------------\r\nERROR: failed to solve: process \"/bin/sh -c git clone https://github.com/PDAL/PDAL.git \u0026\u0026 cd PDAL \u0026\u0026 mkdir build \u0026\u0026 cd build \u0026\u0026 cmake .. \u0026\u0026 make \u0026\u0026 make install\" did not complete successfully: exit code: 1\r\n```\r\n\r\nWhat am I missing?","author":{"url":"https://github.com/mghildiy","@type":"Person","name":"mghildiy"},"datePublished":"2024-08-24T15:30:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/103/java/issues/103"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5cf6b3c9-4373-aa45-b934-07a3f980c09a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ED2A:380309:84C7A9:BC49F7:696F8AD1 |
| html-safe-nonce | bd7531229ca46a0607c9ae9d33cd72f29dc3d050c1e8d1e25132d4cb0b2b0bd8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDJBOjM4MDMwOTo4NEM3QTk6QkM0OUY3OjY5NkY4QUQxIiwidmlzaXRvcl9pZCI6IjMxODAwMjU4NzU0Mjc5ODYxMzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | de3478c881701b6977e05dcde86fe772608ef0dfec61f07f36a75858ffae990b |
| hovercard-subject-tag | issue:2484671633 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PDAL/java/103/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d66e5f0726d65e9e1b9f9ff277e83abda1135f37539d234792693b01ab2b3e82/PDAL/java/issues/103 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d66e5f0726d65e9e1b9f9ff277e83abda1135f37539d234792693b01ab2b3e82/PDAL/java/issues/103 |
| og:image:alt | I am making a docker image for my java application, which uses java bindings for pdal. I have added this to my Dockerfile: FROM openjdk:21-jdk-bullseye # Install build dependencies RUN apt-get upda... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mghildiy |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0ca8d8c65612640b9a1a588b3eed68222ca723ed2d028b18fe81b28936d535eb |
| turbo-cache-control | no-preview |
| go-import | github.com/PDAL/java git https://github.com/PDAL/java.git |
| octolytics-dimension-user_id | 859797 |
| octolytics-dimension-user_login | PDAL |
| octolytics-dimension-repository_id | 125991459 |
| octolytics-dimension-repository_nwo | PDAL/java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 125991459 |
| octolytics-dimension-repository_network_root_nwo | PDAL/java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 95f60616ce2765d1114fe6da4af405a58c6d26d2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width