Skip to content

Commit

Permalink
⬇️ Downgrade MongoDB to 3.4 to provide an upgrade path (#247)
Browse files Browse the repository at this point in the history
* ⬇️ Downgrade MongoDB to 3.4 to provide an upgrade path

* Pin gnupg2
  • Loading branch information
frenck authored Aug 12, 2021
1 parent 3ef841d commit 9592a78
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion unifi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,33 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
ARG BUILD_ARCH=amd64
RUN \
apt-get update \
&& apt-get install -y --no-install-recommends \
gnupg2=2.2.4-1ubuntu1.4 \
\
&& curl -fsSL "https://www.mongodb.org/static/pgp/server-3.4.asc" \
| apt-key add -\
&& echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" \
> /etc/apt/sources.list.d/mongodb.list \
\
&& apt-get update \
&& apt-get install -y --no-install-recommends \
binutils=2.30-21ubuntu1~18.04.5 \
jsvc=1.0.15-8 \
libcap2=1:2.25-1.2 \
libssl1.0.0=1.0.2n-1ubuntu5.6 \
logrotate=3.11.0-0.1ubuntu1 \
mongodb-server=1:3.6.3-0ubuntu1.1 \
mongodb-org-server=3.4.24 \
openjdk-8-jdk-headless=8u292-b10-0ubuntu1~18.04 \
\
&& curl -J -L -o /tmp/unifi.deb \
"https://dl.ui.com/unifi/6.2.26/unifi_sysvinit_all.deb" \
\
&& dpkg --install /tmp/unifi.deb \
\
&& apt-get remove -y --purge \
gnupg2 \
\
&& apt-get clean \
&& rm -fr \
/tmp/* \
/root/.gnupg \
Expand Down

0 comments on commit 9592a78

Please sign in to comment.