RUN yum install gcc openssl-devel bzip2-devel libffi-devel wget -y
RUN ls-la
RUN wget https://www.python.org/ftp/python/3.6.12/Python-3.6.12.tgz;ls-la;tar-xzf Python-3.6.12.tgz;ls-la;cd Python-3.6.12/; ./configure --enable-optimizations; make altinstall
# NB newer versions of this notebook suffer of a _bz2 issue
# and would require recompiling python
# as documented in https://github.com/freqtrade/freqtrade/issues/2245
RUN wget https://www.python.org/ftp/python/3.6.12/Python-3.6.12.tgz; ls -la; tar -xzf Python-3.6.12.tgz; ls -la; cd Python-3.6.12/; ./configure --enable-optimizations; make altinstall
1. Replace in the js file the Annotation input form with what reported in [new_annotation_buttons.js_diff](new_annotation_buttons.js_diff)
1. Add in the js file the Annotation button functions with what reported in [new_annotation_buttons_functionality.js_diff](new_annotation_buttons_functionality.js_diff)
1. Expose the js file in some accessible url (see next section)
### Install advanced grafana annotation capabilities in the browser
- Install "Resource override" plugin for substituting the default javascript with our empowered version