File: Dockerfile

package info (click to toggle)
assimp 6.0.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 159,420 kB
  • sloc: cpp: 165,406; cobol: 65,664; ansic: 16,600; xml: 11,246; python: 5,320; java: 2,303; sh: 512; objc: 122; pascal: 100; makefile: 66
file content (17 lines) | stat: -rw-r--r-- 350 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"]