[Hue] Fix gethue.com issue.
perform make apps install together
fix the conf dir path
Adding mysqlclient in the dockerfile
@@ -39,11 +39,11 @@ RUN pip3 install --upgrade --no-cache-dir setuptools virtualenv pip && \
chown -R hue /hue/build && \
mkdir /usr/share/hue && \
chown -R hue /usr/share/hue && \
- rm -r /hue/desktop/conf/* && \
- cp -r /hue/desktop/conf.dist/* /hue/desktop/conf/ && \
+ rm -rf /hue/desktop/conf && \
+ cp -r /hue/desktop/conf.dist /hue/desktop/conf && \
cd /hue && \
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python \
- PREFIX=/usr/share ROOT=/usr/share/hue PYTHON_VER=python3.8 make install && \
+ PREFIX=/usr/share ROOT=/usr/share/hue PYTHON_VER=python3.8 make apps install && \
chown -R hue /usr/share/hue && \
npm cache clean --force && \
pip cache purge && \
@@ -61,10 +61,10 @@ WORKDIR /usr/share/hue
# To move to requirements_connectors.txt
RUN ./build/env/bin/pip install --no-cache-dir \
psycopg2-binary \
- # Avoid Django 3 pulling
+ # Avoid Django 3 pulling \
django_redis==4.11.0 \
flower==0.9.7 \
- # Contains fix for SparkSql show tables
+ # Contains fix for SparkSql show tables \
git+https://github.com/gethue/PyHive \
# pyhive \
impyla==0.17.0 \
@@ -74,16 +74,17 @@ RUN ./build/env/bin/pip install --no-cache-dir \
# pybigquery \
elasticsearch-dbapi \
pyasn1==0.4.1 \
- # View some parquet files
+ # View some parquet files \
python-snappy==0.5.4 \
- # Needed for Jaeger
+ # Needed for Jaeger \
threadloop \
- # Fix Can't load plugin: sqlalchemy.dialects:clickhouse
+ # Fix Can't load plugin: sqlalchemy.dialects:clickhouse \
sqlalchemy-clickhouse \
- # sqlalchemy-clickhouse depend on infi.clickhouse_orm
- # install after sqlalchemy-clickhouse and version == 1.0.4
- # otherwise Code: 516, Authentication failed will display
- infi.clickhouse_orm==1.0.4
+ # sqlalchemy-clickhouse depend on infi.clickhouse_orm \
+ # install after sqlalchemy-clickhouse and version == 1.0.4 \
+ # otherwise Code: 516, Authentication failed will display \
+ infi.clickhouse_orm==1.0.4 \
+ mysqlclient
USER hue
