File tree 3 files changed +36
-0
lines changed
3 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ .dockerignore
2
+ Dockerfile
3
+
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:16.04
2
+
3
+ RUN apt-get update && \
4
+ apt-get install -y software-properties-common && \
5
+ add-apt-repository ppa:jonathonf/python-3.6 && \
6
+ add-apt-repository ppa:git-core/ppa && \
7
+ apt-get update && \
8
+ apt-get install -y python3.6 curl build-essential cmake libxml2-dev zlib1g-dev git && \
9
+ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3 get-pip.py && \
10
+ pip install conan && \
11
+ conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
12
+
13
+ COPY . /fbx2gltf
14
+
15
+ WORKDIR /fbx2gltf
16
+
17
+ # Install FBX SDK
18
+ RUN curl -L https://www.autodesk.com/content/dam/autodesk/www/adn/fbx/20192/fbx20192_fbxsdk_linux.tar.gz -o fbx20192_fbxsdk_linux.tar.gz && \
19
+ tar -xvf fbx20192_fbxsdk_linux.tar.gz && \
20
+ echo "yes\n n" | ./fbx20192_fbxsdk_linux /fbx2gltf/sdk/Linux/2019.2 && \
21
+ rm -rf /fbxsdktemp
22
+
23
+ # Build and install
24
+ RUN conan install . -i docker-build -s build_type=Release -s compiler=gcc -s compiler.version=5 -s compiler.libcxx=libstdc++11 && \
25
+ conan build -bf docker-build . && \
26
+ cp docker-build/FBX2glTF /usr/bin && \
27
+ cd / && \
28
+ rm -rf /fbx2gltf /root/.conan
Original file line number Diff line number Diff line change
1
+ version : ' 3.7'
2
+ services :
3
+ fbx2gltf :
4
+ build :
5
+ context : .
You can’t perform that action at this time.
0 commit comments