Update Dockerfile to use OpenSSL 1.0.2h to resolve certificate issues (#2057)

This commit is contained in:
Lewis Juggins 2016-05-13 15:55:52 +01:00 committed by Paulus Schoutsen
parent aa7fa7b550
commit 96b73684eb
2 changed files with 9 additions and 1 deletions

View file

@ -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 . .

View file

@ -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