From 225d076f031292b97bf05963f4f9d5e2c8d5384d Mon Sep 17 00:00:00 2001 From: Par Winzell Date: Tue, 7 May 2019 13:18:25 -0700 Subject: [PATCH] The Dockerfile can tell Conan exactly what its system is. As long as we know precisely what we're running, there's no need to trust in Conan's guesswork. (This also uses 'docker-build' for a build directory, to reduce risk of conflict with the local repo checkout.) --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8cffe3c..d45013f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,8 +21,8 @@ RUN curl -L https://www.autodesk.com/content/dam/autodesk/www/adn/fbx/20192/fbx2 rm -rf /fbxsdktemp # Build and install -RUN conan install . -i build -s build_type=Release -e FBXSDK_SDKS=/fbx2gltf/sdk && \ - conan build -bf build . && \ - cp build/FBX2glTF /usr/bin && \ +RUN conan install . -i docker-build -s build_type=Release -s compiler=gcc -s compiler.version=5 -s compiler.libcxx=libstdc++11 && \ + conan build -bf docker-build . && \ + cp docker-build/FBX2glTF /usr/bin && \ cd / && \ - rm -rf /fbx2gltf + rm -rf /fbx2gltf /root/.conan