mirror of
https://github.com/home-assistant/core
synced 2024-07-20 18:14:52 +00:00
Update Dockerfile to use OpenSSL 1.0.2h to resolve certificate issues (#2057)
This commit is contained in:
parent
aa7fa7b550
commit
96b73684eb
|
@ -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 . .
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue