better installation on pica standalone
This commit is contained in:
parent
d516963219
commit
259d3b4a99
@ -17,9 +17,11 @@ RUN tar -xvzf main.tar.gz && \
|
|||||||
cd pica && \
|
cd pica && \
|
||||||
mkdir build && \
|
mkdir build && \
|
||||||
cd build && \
|
cd build && \
|
||||||
cmake .. && \
|
cmake .. -D CMAKE_INSTALL_PREFIX=/usr && \
|
||||||
cmake --build .
|
cmake --build . && \
|
||||||
|
mkdir install && \
|
||||||
|
DESTDIR=install cmake --install .
|
||||||
|
|
||||||
FROM thebluestbird/pica-environment:latest
|
FROM thebluestbird/pica-environment:latest
|
||||||
COPY --from=0 /pica/pica/build/pica /usr/bin/
|
COPY --from=0 /pica/pica/build/install /
|
||||||
CMD ["/usr/bin/pica"]
|
CMD ["/usr/bin/pica"]
|
||||||
|
Loading…
Reference in New Issue
Block a user