diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2020-09-01 10:05:35 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-01 10:05:35 +0530 |
commit | 102b710f2bb10bf70e623be3516bccf006ba11d5 (patch) | |
tree | 770a9ea27c6b6fe6cbc4f793790d6466e8674ca0 /Dockerfile | |
parent | 257a91663815cc3bdeac0426320c68a15855674d (diff) |
Diffstat (limited to 'Dockerfile')
-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" |