diff --git a/superset/Dockerfile b/superset/Dockerfile deleted file mode 100644 index 62ed680..0000000 --- a/superset/Dockerfile +++ /dev/null @@ -1,75 +0,0 @@ -# -# Dockerfile for superset-arm -# - -FROM resin/rpi-raspbian:stretch -MAINTAINER EasyPi Software Foundation - -# Superset version -ARG SUPERSET_VERSION=0.26.3 - -# Configure environment -ENV LANG=C.UTF-8 \ - LC_ALL=C.UTF-8 \ - PYTHONPATH=/etc/superset:/home/superset:$PYTHONPATH \ - SUPERSET_REPO=apache/incubator-superset \ - SUPERSET_VERSION=${SUPERSET_VERSION} \ - SUPERSET_HOME=/var/lib/superset - -# Create superset user & install dependencies -RUN useradd -U -m superset && \ - mkdir /etc/superset && \ - mkdir ${SUPERSET_HOME} && \ - chown -R superset:superset /etc/superset && \ - chown -R superset:superset ${SUPERSET_HOME} && \ - apt-get update && \ - apt-get install -y \ - build-essential \ - curl \ - default-libmysqlclient-dev \ - freetds-dev \ - freetds-bin \ - libffi-dev \ - libldap2-dev \ - libpq-dev \ - libsasl2-dev \ - libssl-dev \ - python3-dev && \ - apt-get clean && \ - rm -r /var/lib/apt/lists/* && \ - curl https://raw.githubusercontent.com/${SUPERSET_REPO}/${SUPERSET_VERSION}/requirements.txt -o requirements.txt && \ - curl -sSL https://bootstrap.pypa.io/get-pip.py | python3 && \ - pip3 install --no-cache-dir -r requirements.txt && \ - pip3 install --no-cache-dir \ - Werkzeug==0.12.1 \ - flask-cors==3.0.3 \ - flask-mail==0.9.1 \ - flask-oauth==0.12 \ - flask_oauthlib==0.9.3 \ - gevent==1.2.2 \ - impyla==0.14.0 \ - infi.clickhouse-orm==0.9.8 \ - mysqlclient==1.3.7 \ - psycopg2==2.6.1 \ - pyathena==1.2.5 \ - pyhive==0.5.1 \ - pyldap==2.4.28 \ - pymssql==2.1.3 \ - redis==2.10.5 \ - sqlalchemy-clickhouse==0.1.3.post0 \ - sqlalchemy-redshift==0.5.0 \ - superset==${SUPERSET_VERSION} && \ - rm requirements.txt - -# Configure Filesystem -COPY superset /usr/local/bin -VOLUME /home/superset \ - /etc/superset \ - /var/lib/superset -WORKDIR /home/superset - -# Deploy application -EXPOSE 8088 -HEALTHCHECK CMD ["curl", "-f", "http://localhost:8088/health"] -CMD ["gunicorn", "-w", "2", "--timeout", "60", "-b", "0.0.0.0:8088", "--limit-request-line", "0", "--limit-request-field_size", "0", "superset:app"] -USER superset diff --git a/superset/arm/Dockerfile b/superset/arm/Dockerfile index 5da51bb..62ed680 100644 --- a/superset/arm/Dockerfile +++ b/superset/arm/Dockerfile @@ -34,11 +34,11 @@ RUN useradd -U -m superset && \ libpq-dev \ libsasl2-dev \ libssl-dev \ - python3-dev \ - python3-pip && \ + python3-dev && \ apt-get clean && \ rm -r /var/lib/apt/lists/* && \ curl https://raw.githubusercontent.com/${SUPERSET_REPO}/${SUPERSET_VERSION}/requirements.txt -o requirements.txt && \ + curl -sSL https://bootstrap.pypa.io/get-pip.py | python3 && \ pip3 install --no-cache-dir -r requirements.txt && \ pip3 install --no-cache-dir \ Werkzeug==0.12.1 \