Create venv:
python3 -m venv venvinstall requirements:
. venv/bin/activate
pip install -r requirements.txt
deactivateSymlink supervisely SDK sources: for example
# ln -s ~/work/sly_public/supervisely ./supervisely
# ln -s ~/work/sly_public/supervisely_lib ./agent/supervisely_lib
ln -s ~/work/sly_public/supervisely_lib ./supervisely_lib
Build dockerimage
docker build -t supervisely/agent:build --label "LABEL_VERSION=agent:6.999.0" --label "LABEL_INFO=1" --label "LABEL_README=1" --label "LABEL_BUILT_AT=1" .