diff options
-rw-r--r-- | Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -15,8 +15,9 @@ ENV PYTHONPATH="${PYTHONPATH}:${UFG_INSTALL}/python" # Build + install usd_from_gltf RUN git init && \ git remote add origin https://github.com/google/usd_from_gltf.git && \ - git fetch --depth 1 origin master && \ - python3 "${UFG_SRC}/tools/ufginstall/ufginstall.py" -v "${UFG_INSTALL}" "${USD_DIR}" && \ + git fetch --depth 1 origin "${UFG_RELEASE}" && \ + git checkout FETCH_HEAD && \ + python "${UFG_SRC}/tools/ufginstall/ufginstall.py" -v "${UFG_INSTALL}" "${USD_DIR}" && \ cp -r "${UFG_SRC}/tools/ufgbatch" "${UFG_INSTALL}/python" && \ rm -rf "${UFG_SRC}" "${UFG_INSTALL}/build" "${UFG_INSTALL}/src" |