mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
parent
1664d28d2d
commit
45a2b5594b
|
@ -85,18 +85,13 @@ RUN apt-get update && apt-get install -y \
|
||||||
ENV UNIFI_VERSION "5.8.24"
|
ENV UNIFI_VERSION "5.8.24"
|
||||||
|
|
||||||
# install unifi
|
# install unifi
|
||||||
RUN buildDeps=' \
|
RUN apt-get update && apt-get install -y \
|
||||||
curl \
|
curl \
|
||||||
' \
|
|
||||||
set -x \
|
|
||||||
&& apt-get update && apt-get install -y \
|
|
||||||
$buildDeps \
|
|
||||||
--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 "http://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 \
|
||||||
&& apt-get purge -y $buildDeps \
|
|
||||||
&& echo "Build complete."
|
&& echo "Build complete."
|
||||||
|
|
||||||
WORKDIR /config
|
WORKDIR /config
|
||||||
|
|
Loading…
Reference in New Issue
Block a user