Update to 7.5.187
This commit is contained in:
parent
d60b498785
commit
c4104fd2db
|
@ -1,19 +0,0 @@
|
|||
FROM danielberteaud/alma:8
|
||||
MAINTAINER Daniel Berteaud <dbd@ehtrace.com>
|
||||
|
||||
ARG MONGO_MAJOR=5.0
|
||||
|
||||
COPY root/ /
|
||||
RUN set -eux &&\
|
||||
sed -i -e "s/__MONGO_MAJOR__/${MONGO_MAJOR}/g" /etc/yum.repos.d/mongodb.repo &&\
|
||||
microdnf -y --best --nodocs --noplugins --setopt=install_weak_deps=0 update &&\
|
||||
# Create mongod user with same UID as mongodb in the official image \
|
||||
groupadd -g 999 mongod &&\
|
||||
useradd -M -r -g mongod -u 999 -d /var/lib/mongo -s /bin/false -c mongod mongod &&\
|
||||
microdnf -y --nodocs --setopt=install_weak_deps=0 install tini mongodb-org-server mongodb-org-shell mongodb-org-tools &&\
|
||||
microdnf clean all &&\
|
||||
rm -rf /var/cache/yum/* /var/log/yum/* /var/lib/dnf/history*
|
||||
|
||||
USER mongod
|
||||
ENTRYPOINT ["tini", "--"]
|
||||
CMD ["mongod"]
|
|
@ -1,6 +0,0 @@
|
|||
[mongodb-org-__MONGO_MAJOR__]
|
||||
name=MongoDB Repository
|
||||
baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/__MONGO_MAJOR__/x86_64/
|
||||
gpgcheck=1
|
||||
enabled=1
|
||||
gpgkey=https://www.mongodb.org/static/pgp/server-__MONGO_MAJOR__.asc
|
|
@ -1,6 +1,6 @@
|
|||
FROM alpine:latest AS builder
|
||||
|
||||
ARG UNIFI_VERSION=7.5.176
|
||||
ARG UNIFI_VERSION=7.5.187
|
||||
|
||||
RUN set -eu &&\
|
||||
apk --no-cache add curl ca-certificates unzip &&\
|
||||
|
|
|
@ -17,7 +17,7 @@ unifi:
|
|||
driver: docker
|
||||
|
||||
# The image for the controller
|
||||
image: danielberteaud/unifi:7.5.176-1
|
||||
image: danielberteaud/unifi:7.5.187-1
|
||||
|
||||
# Resource allocation for the controller
|
||||
resources:
|
||||
|
@ -139,7 +139,7 @@ unifi:
|
|||
mongo:
|
||||
|
||||
# The image to use
|
||||
image: danielberteaud/mongo:5.0-1
|
||||
image: '[[ .docker.repo ]][[ .docker.base_images.mongo50.image ]]'
|
||||
|
||||
# Resource allocation
|
||||
resources:
|
||||
|
|
Loading…
Reference in New Issue