mirror of
https://github.com/sstent/unifi.git
synced 2025-12-06 06:01:37 +00:00
adding binary and build
This commit is contained in:
13
Dockerfile
13
Dockerfile
@@ -1,4 +1,4 @@
|
|||||||
FROM ubuntu:18.04
|
FROM ubuntu:20.04
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
ARG REPO
|
ARG REPO
|
||||||
@@ -19,17 +19,18 @@ RUN \
|
|||||||
mongodb-server \
|
mongodb-server \
|
||||||
openjdk-8-jre-headless \
|
openjdk-8-jre-headless \
|
||||||
wget && \
|
wget && \
|
||||||
echo "**** install unifi ****" && \
|
echo "**** cleanup ****" && \
|
||||||
|
apt-get clean && \
|
||||||
|
rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/*
|
||||||
|
|
||||||
|
RUN echo "**** install unifi ****" && \
|
||||||
mkdir -p /app && \
|
mkdir -p /app && \
|
||||||
curl -o \
|
curl -o \
|
||||||
/app/unifi.deb -L \
|
/app/unifi.deb -L \
|
||||||
"https://dl.ui.com/unifi/5.6.42/unifi_sysvinit_all.deb" && \
|
"https://dl.ui.com/unifi/5.6.42/unifi_sysvinit_all.deb" && \
|
||||||
echo "**** cleanup ****" && \
|
echo "**** cleanup ****" && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf \
|
rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/*
|
||||||
/tmp/* \
|
|
||||||
/var/lib/apt/lists/* \
|
|
||||||
/var/tmp/*
|
|
||||||
|
|
||||||
|
|
||||||
#add scripts
|
#add scripts
|
||||||
|
|||||||
Reference in New Issue
Block a user