* Fix Whitespace No functional changes. This commit removes trailing spaces, undesired line breaks, and formatting screwups. * Remove more useless line breaks in license (500 out of 630 license copies do NOT use double line breaks here) --------- Co-authored-by: Krishty <krishty@krishty.com> Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
18 lines
350 B
Docker
18 lines
350 B
Docker
FROM gcc:latest
|
|
|
|
RUN apt-get update && apt-get install --no-install-recommends -y ninja-build cmake
|
|
|
|
WORKDIR /app
|
|
RUN apt install zlib1g-dev
|
|
|
|
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"]
|