Removing git lfs, it causes problems in managed build environments such as docker hub

This commit is contained in:
Jesse Vander Does 2019-04-30 18:59:16 -07:00
parent 7fb7c0ad9c
commit 8ca855db65
1 changed files with 5 additions and 5 deletions

View File

@ -6,9 +6,6 @@ RUN apt-get update && \
add-apt-repository ppa:git-core/ppa && \ add-apt-repository ppa:git-core/ppa && \
apt-get update && \ apt-get update && \
apt-get install -y python3.6 curl build-essential cmake libxml2-dev zlib1g-dev git && \ apt-get install -y python3.6 curl build-essential cmake libxml2-dev zlib1g-dev git && \
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash && \
apt-get install -y git-lfs && \
git lfs install && \
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3 get-pip.py && \ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3 get-pip.py && \
pip install conan && \ pip install conan && \
conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
@ -17,8 +14,11 @@ COPY . /fbx2gltf
WORKDIR /fbx2gltf WORKDIR /fbx2gltf
# Pull the fbx sdk # Install FBX SDK
RUN git lfs pull 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 && \
tar -xvf fbx20192_fbxsdk_linux.tar.gz && \
echo "yes\nn" | ./fbx20192_fbxsdk_linux /fbx2gltf/sdk/Linux/2019.2 && \
rm -rf /fbxsdktemp
# Build and install # Build and install
RUN conan install . -i build -s build_type=Release -e FBXSDK_SDKS=/fbx2gltf/sdk && \ RUN conan install . -i build -s build_type=Release -e FBXSDK_SDKS=/fbx2gltf/sdk && \