diff --git a/Dockerfile b/Dockerfile index 013afcca674..9257a2be7d0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,6 +21,14 @@ RUN script/build_python_openzwave && \ COPY requirements_all.txt requirements_all.txt RUN pip3 install --no-cache-dir -r requirements_all.txt +RUN wget http://www.openssl.org/source/openssl-1.0.2h.tar.gz && \ + tar -xvzf openssl-1.0.2h.tar.gz && \ + cd openssl-1.0.2h && \ + ./config --prefix=/usr/ && \ + make && \ + make install && \ + rm -rf openssl-1.0.2h* + # Copy source COPY . . diff --git a/script/build_python_openzwave b/script/build_python_openzwave index 2a5283c44bd..8f88cace558 100755 --- a/script/build_python_openzwave +++ b/script/build_python_openzwave @@ -15,7 +15,7 @@ if [ -d python-openzwave ]; then git pull --recurse-submodules=yes git submodule update --init --recursive else - git clone --recursive https://github.com/OpenZWave/python-openzwave.git + git clone --recursive --depth 1 https://github.com/OpenZWave/python-openzwave.git cd python-openzwave fi