download unifi deb package via https (#526)

This commit is contained in:
hrtkpf 2020-03-30 04:10:10 +02:00 committed by GitHub
parent a20a544be1
commit bb0b611e4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,7 +95,7 @@ RUN apt-get update && apt-get install -y \
curl \ curl \
--no-install-recommends \ --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& curl -o /tmp/unifi.deb -L "http://dl.ubnt.com/unifi/${UNIFI_VERSION}/unifi_sysvinit_all.deb" \ && curl -o /tmp/unifi.deb -L "https://dl.ubnt.com/unifi/${UNIFI_VERSION}/unifi_sysvinit_all.deb" \
&& dpkg -i /tmp/unifi.deb \ && dpkg -i /tmp/unifi.deb \
&& rm -rf /tmp/unifi.deb \ && rm -rf /tmp/unifi.deb \
&& echo "Build complete." && echo "Build complete."