Skip to content

Commit f2b7cb1

Browse files
author
Daniel Tobon
committed
added Dockerfile
1 parent 96184f0 commit f2b7cb1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM danieltobon43/pcl-docker:1.12.1-alpine3.15-dev AS build
2+
COPY . /tmp
3+
WORKDIR /tmp
4+
RUN cmake -B `pwd`/build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=install && \
5+
make -j$(nproc) -C build/ --no-print-directory && make install -C build/
6+
7+
FROM danieltobon43/pcl-docker:1.12.1-alpine3.15 AS runtime
8+
COPY --from=build /tmp/install /usr
9+
ENTRYPOINT ["pcl-visualizer"]

0 commit comments

Comments
 (0)