# Build stage FROM danieltobon43/pcl-docker:1.12.1-alpine3.15-All AS build_dbscan RUN apk --no-cache add cmake build-base COPY . /tmp RUN cd /tmp && cmake -DCMAKE_INSTALL_PREFIX=/tmp/install \ -S . -Bbuild && make -C build/ -j$(nproc) --no-print-directory && \ make -C build/ install --no-print-directory # Runtime FROM danieltobon43/pcl-docker:1.12.1-alpine3.15-All AS runtime ENV MESA_LOADER_DRIVER_OVERRIDE i965 COPY --from=build_dbscan /tmp/install /usr # ======== Run binary file ======== ENTRYPOINT ["app"] # vtk 9.0 # error: vtkContextDevice2D.cxx:32 WARN| Error: no override found for 'vtkContextDevice2D # https://discourse.vtk.org/t/two-questions-about-new-module-system/2864/16