From fce11665f498347b024e6109a79fa4f100ac092e Mon Sep 17 00:00:00 2001 From: Bruno Santos Date: Thu, 18 Jul 2019 21:13:08 +0100 Subject: [PATCH] Fix missing `gevent` extra dependency in Docker setup (#7744) * Fix missing `gevent` extra dependency in Docker setup * Add missing ASF header --- contrib/docker/Dockerfile | 3 ++- contrib/docker/requirements-extra.txt | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 contrib/docker/requirements-extra.txt diff --git a/contrib/docker/Dockerfile b/contrib/docker/Dockerfile index 0773bebf9..9ac0e79bc 100644 --- a/contrib/docker/Dockerfile +++ b/contrib/docker/Dockerfile @@ -45,9 +45,10 @@ WORKDIR /home/superset COPY requirements.txt . COPY requirements-dev.txt . +COPY contrib/docker/requirements-extra.txt . RUN pip install --upgrade setuptools pip \ - && pip install -r requirements.txt -r requirements-dev.txt \ + && pip install -r requirements.txt -r requirements-dev.txt -r requirements-extra.txt \ && rm -rf /root/.cache/pip RUN pip install gevent diff --git a/contrib/docker/requirements-extra.txt b/contrib/docker/requirements-extra.txt new file mode 100644 index 000000000..52683eefb --- /dev/null +++ b/contrib/docker/requirements-extra.txt @@ -0,0 +1,17 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +gevent==1.4.0 \ No newline at end of file