diff options
author | sanine <sanine.not@pm.me> | 2022-04-16 11:55:09 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-04-16 11:55:09 -0500 |
commit | db81b925d776103326128bf629cbdda576a223e7 (patch) | |
tree | 58bea8155c686733310009f6bed7363f91fbeb9d /libs/assimp/Dockerfile | |
parent | 55860037b14fb3893ba21cf2654c83d349cc1082 (diff) |
move 3rd-party librarys into libs/ and add built-in honeysuckle
Diffstat (limited to 'libs/assimp/Dockerfile')
-rw-r--r-- | libs/assimp/Dockerfile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/libs/assimp/Dockerfile b/libs/assimp/Dockerfile new file mode 100644 index 0000000..b65d131 --- /dev/null +++ b/libs/assimp/Dockerfile @@ -0,0 +1,25 @@ +FROM ubuntu:14.04 + +RUN apt-get update && apt-get install -y \ + git cmake build-essential software-properties-common + +RUN add-apt-repository ppa:ubuntu-toolchain-r/test && apt-get update && apt-get install -y gcc-4.9 g++-4.9 && \ + cd /usr/bin && \ + rm gcc g++ cpp && \ + ln -s gcc-4.9 gcc && \ + ln -s g++-4.9 g++ && \ + ln -s cpp-4.9 cpp + +WORKDIR /opt + +# Build Assimp +RUN git clone https://github.com/assimp/assimp.git /opt/assimp + +WORKDIR /opt/assimp + +RUN git checkout master \ + && mkdir build && cd build && \ + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + .. && \ + make && make install |