Skip to content
This repository was archived by the owner on Jan 7, 2024. It is now read-only.

Commit 2ecbf67

Browse files
authored
Merge pull request #24 from linuxserver/v5.5
switch to using .deb instead of repo
2 parents 9eff78f + 1ee6dae commit 2ecbf67

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

Dockerfile

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,32 @@ ARG BUILD_DATE
55
ARG VERSION
66
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
77

8+
# package versions
9+
ARG UNIFI_VER="5.5.19"
10+
811
# environment settings
912
ARG DEBIAN_FRONTEND="noninteractive"
1013

11-
# install packages
14+
# add mongo repo
1215
RUN \
13-
echo "deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti" >> /etc/apt/sources.list && \
14-
apt-key adv --keyserver keyserver.ubuntu.com --recv C0A52C50 && \
16+
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 && \
17+
echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" >> /etc/apt/sources.list.d/mongo.list && \
18+
19+
# install packages
1520
apt-get update && \
1621
apt-get install -y \
22+
binutils \
23+
jsvc \
24+
mongodb-org-server \
1725
openjdk-8-jre-headless \
18-
unifi \
1926
wget && \
2027

28+
# install unifi
29+
curl -o \
30+
/tmp/unifi.deb -L\
31+
"http://dl.ubnt.com/unifi/${UNIFI_VER}/unifi_sysvinit_all.deb" && \
32+
dpkg -i /tmp/unifi.deb && \
33+
2134
# cleanup
2235
apt-get clean && \
2336
rm -rf \

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ Use `ubnt` as the password to login and `$address` is the IP address of the host
9595

9696
## Versions
9797

98+
+ **15.07.17:** Update to 5.5.19 and switch to using .deb package, no need to keep up with the unifi repo merry-go-round.
9899
+ **05.07.17:** Change repo to stable. Remove execstack command, no longer required.
99100
+ **18.03.17:** Fix execstack warning.
100101
+ **14.10.16:** Add version layer information.

0 commit comments

Comments
 (0)