summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-09-01 10:05:35 +0530
committerGitHub <noreply@github.com>2020-09-01 10:05:35 +0530
commit102b710f2bb10bf70e623be3516bccf006ba11d5 (patch)
tree770a9ea27c6b6fe6cbc4f793790d6466e8674ca0 /Dockerfile
parent257a91663815cc3bdeac0426320c68a15855674d (diff)
Update DockerfileHEADmaster
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 530bcb8..9ed5696 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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"