From 102b710f2bb10bf70e623be3516bccf006ba11d5 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Tue, 1 Sep 2020 10:05:35 +0530 Subject: Update Dockerfile --- Dockerfile | 5 +++-- 1 file 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" -- cgit v1.2.3