add fetch dependencies and its cleanup

This commit is contained in:
Ondrej Samohel 2021-05-11 10:37:36 +02:00 committed by Ondrej Samohel
parent b401e0bb54
commit 2bc20c00a2
No known key found for this signature in database
GPG key ID: 02376E18990A97C6
3 changed files with 11 additions and 1 deletions

View file

@ -141,3 +141,4 @@ cython_debug/
vendor/bin
docs/
website/

View file

@ -67,7 +67,16 @@ RUN cd /opt/openpype \
&& pyenv local ${OPENPYPE_PYTHON_VERSION}
RUN source $HOME/.bashrc \
cd /opt/openpype \
&& ./tools/create_env.sh
RUN source $HOME/.bashrc \
cd /opt/openpype \
&& ./tools/fetch_thirdparty_libs.sh
RUN source $HOME/.bashrc \
cd /opt/openpype \
&& bash ./tools/build.sh
RUN cd /opt/openpype \
rm -rf ./vendor/bin

View file

@ -108,7 +108,7 @@ detect_python () {
install_poetry () {
echo -e "${BIGreen}>>>${RST} Installing Poetry ..."
command -v curl >/dev/null 2>&1 || { echo -e "${BIRed}!!!${RST}${BIYellow} Missing ${RST}${BIBlue}curl${BIYellow} command.${RST}"; return 1; }
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 -
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
export PATH="$PATH:$HOME/.poetry/bin"
}