adding binary and build

This commit is contained in:
2022-08-09 11:06:13 -04:00
parent a9a877692c
commit 08d9c5cba3

View File

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