grafana repo added, mongodb 4.2 for all dists and centos 8 & 9 all versions
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
data/*
|
data/rpm/*
|
||||||
|
data/deb/*
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ FROM debian:10.5-slim
|
|||||||
COPY config/deb/entrypoint.sh /opt/entrypoint.sh
|
COPY config/deb/entrypoint.sh /opt/entrypoint.sh
|
||||||
RUN apt-get update -q \
|
RUN apt-get update -q \
|
||||||
&& \
|
&& \
|
||||||
apt install -y -qq apt-mirror \
|
apt install -y -qq apt-mirror apt-transport-https software-properties-common wget \
|
||||||
&& \
|
&& \
|
||||||
apt-get autoremove \
|
apt-get autoremove \
|
||||||
&& \
|
&& \
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key
|
||||||
apt-mirror
|
apt-mirror
|
||||||
|
|||||||
@@ -30,4 +30,7 @@ deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4
|
|||||||
deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse
|
deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse
|
||||||
deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.2 multiverse
|
deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.2 multiverse
|
||||||
|
|
||||||
|
deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main
|
||||||
|
deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com beta main
|
||||||
|
|
||||||
clean http://archive.ubuntu.com/ubuntu
|
clean http://archive.ubuntu.com/ubuntu
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ done
|
|||||||
# rpm --import /tmp/gpg_keys/$gpg_key
|
# rpm --import /tmp/gpg_keys/$gpg_key
|
||||||
# done
|
# done
|
||||||
|
|
||||||
for cent_release in 6 7 8
|
for cent_release in 6 7 8 9
|
||||||
do
|
do
|
||||||
for mongo_release in 4.4 5.0 6.0
|
for mongo_release in 4.2 4.4 5.0 6.0
|
||||||
do
|
do
|
||||||
reposync --delete \
|
reposync --delete \
|
||||||
--remote-time \
|
--remote-time \
|
||||||
@@ -21,3 +21,13 @@ do
|
|||||||
--repoid mongodb-org-$mongo_release-c$cent_release
|
--repoid mongodb-org-$mongo_release-c$cent_release
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
|
# rpm --import https://rpm.grafana.com/gpg.key
|
||||||
|
reposync --delete \
|
||||||
|
--arch=x86_64 \
|
||||||
|
--remote-time \
|
||||||
|
--download-metadata \
|
||||||
|
-p /data/ \
|
||||||
|
--repoid grafana
|
||||||
|
|
||||||
|
|||||||
9
config/rpm/repo_files/grafana.repo
Normal file
9
config/rpm/repo_files/grafana.repo
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
[grafana]
|
||||||
|
name=grafana
|
||||||
|
baseurl=https://rpm.grafana.com
|
||||||
|
#repo_gpgcheck=1
|
||||||
|
enabled=1
|
||||||
|
#gpgcheck=1
|
||||||
|
#gpgkey=https://rpm.grafana.com/gpg.key
|
||||||
|
sslverify=1
|
||||||
|
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
|
||||||
@@ -1,6 +1,13 @@
|
|||||||
#
|
#
|
||||||
# centos 6
|
# centos 6
|
||||||
#
|
#
|
||||||
|
[mongodb-org-4.2-c6]
|
||||||
|
name=MongoDB Repository
|
||||||
|
baseurl=https://repo.mongodb.org/yum/redhat/6/mongodb-org/4.2/x86_64/
|
||||||
|
gpgcheck=1
|
||||||
|
enabled=1
|
||||||
|
gpgkey=https://www.mongodb.org/static/pgp/server-4.2.asc
|
||||||
|
|
||||||
[mongodb-org-4.4-c6]
|
[mongodb-org-4.4-c6]
|
||||||
name=MongoDB Repository
|
name=MongoDB Repository
|
||||||
baseurl=https://repo.mongodb.org/yum/redhat/6/mongodb-org/4.4/x86_64/
|
baseurl=https://repo.mongodb.org/yum/redhat/6/mongodb-org/4.4/x86_64/
|
||||||
@@ -25,6 +32,13 @@ gpgkey=https://www.mongodb.org/static/pgp/server-6.0.asc
|
|||||||
#
|
#
|
||||||
# centos 7
|
# centos 7
|
||||||
#
|
#
|
||||||
|
[mongodb-org-4.2-c7]
|
||||||
|
name=MongoDB Repository
|
||||||
|
baseurl=https://repo.mongodb.org/yum/redhat/7/mongodb-org/4.2/x86_64/
|
||||||
|
gpgcheck=1
|
||||||
|
enabled=1
|
||||||
|
gpgkey=https://www.mongodb.org/static/pgp/server-4.2.asc
|
||||||
|
|
||||||
[mongodb-org-4.4-c7]
|
[mongodb-org-4.4-c7]
|
||||||
name=MongoDB Repository
|
name=MongoDB Repository
|
||||||
baseurl=https://repo.mongodb.org/yum/redhat/7/mongodb-org/4.4/x86_64/
|
baseurl=https://repo.mongodb.org/yum/redhat/7/mongodb-org/4.4/x86_64/
|
||||||
@@ -49,6 +63,13 @@ gpgkey=https://www.mongodb.org/static/pgp/server-6.0.asc
|
|||||||
#
|
#
|
||||||
# centos 8
|
# centos 8
|
||||||
#
|
#
|
||||||
|
[mongodb-org-4.2-c8]
|
||||||
|
name=MongoDB Repository
|
||||||
|
baseurl=https://repo.mongodb.org/yum/redhat/8/mongodb-org/4.2/x86_64/
|
||||||
|
gpgcheck=1
|
||||||
|
enabled=1
|
||||||
|
gpgkey=https://www.mongodb.org/static/pgp/server-4.2.asc
|
||||||
|
|
||||||
[mongodb-org-4.4-c8]
|
[mongodb-org-4.4-c8]
|
||||||
name=MongoDB Repository
|
name=MongoDB Repository
|
||||||
baseurl=https://repo.mongodb.org/yum/redhat/8/mongodb-org/4.4/x86_64/
|
baseurl=https://repo.mongodb.org/yum/redhat/8/mongodb-org/4.4/x86_64/
|
||||||
@@ -70,3 +91,34 @@ gpgcheck=1
|
|||||||
enabled=1
|
enabled=1
|
||||||
gpgkey=https://www.mongodb.org/static/pgp/server-6.0.asc
|
gpgkey=https://www.mongodb.org/static/pgp/server-6.0.asc
|
||||||
|
|
||||||
|
#
|
||||||
|
# centos 9
|
||||||
|
#
|
||||||
|
[mongodb-org-4.2-c9]
|
||||||
|
name=MongoDB Repository
|
||||||
|
baseurl=https://repo.mongodb.org/yum/redhat/9/mongodb-org/4.2/x86_64/
|
||||||
|
gpgcheck=1
|
||||||
|
enabled=1
|
||||||
|
gpgkey=https://www.mongodb.org/static/pgp/server-4.2.asc
|
||||||
|
|
||||||
|
[mongodb-org-4.4-c9]
|
||||||
|
name=MongoDB Repository
|
||||||
|
baseurl=https://repo.mongodb.org/yum/redhat/8/mongodb-org/4.4/x86_64/
|
||||||
|
gpgcheck=1
|
||||||
|
enabled=1
|
||||||
|
gpgkey=https://www.mongodb.org/static/pgp/server-4.4.asc
|
||||||
|
|
||||||
|
[mongodb-org-5.0-c9]
|
||||||
|
name=MongoDB Repository
|
||||||
|
baseurl=https://repo.mongodb.org/yum/redhat/8/mongodb-org/5.0/x86_64/
|
||||||
|
gpgcheck=1
|
||||||
|
enabled=1
|
||||||
|
gpgkey=https://www.mongodb.org/static/pgp/server-5.0.asc
|
||||||
|
|
||||||
|
[mongodb-org-6.0-c9]
|
||||||
|
name=MongoDB Repository
|
||||||
|
baseurl=https://repo.mongodb.org/yum/redhat/8/mongodb-org/6.0/x86_64/
|
||||||
|
gpgcheck=1
|
||||||
|
enabled=1
|
||||||
|
gpgkey=https://www.mongodb.org/static/pgp/server-6.0.asc
|
||||||
|
|
||||||
|
|||||||
1
data/web/mirrors/grafana/rpm
Symbolic link
1
data/web/mirrors/grafana/rpm
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../../../rpm/grafana
|
||||||
1
data/web/mirrors/repo.mongodb.org/deb
Symbolic link
1
data/web/mirrors/repo.mongodb.org/deb
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../../../../data/deb/mirror/repo.mongodb.org/apt
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
../../../../../../../../rpm/mongodb-org-4.2-c6
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
../../../../../../../../rpm/mongodb-org-4.4-c6
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
../../../../../../../../rpm/mongodb-org-5.0-c6
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
../../../../../../../../rpm/mongodb-org-6.0-c6
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
../../../../../../../../rpm/mongodb-org-4.2-c7
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
../../../../../../../../rpm/mongodb-org-4.4-c7
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
../../../../../../../../rpm/mongodb-org-5.0-c7
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
../../../../../../../../rpm/mongodb-org-6.0-c7
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
../../../../../../../../rpm/mongodb-org-4.2-c8
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
../../../../../../../../rpm/mongodb-org-4.4-c8
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
../../../../../../../../rpm/mongodb-org-5.0-c8
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
../../../../../../../../rpm/mongodb-org-6.0-c8
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
../../../../../../../../rpm/mongodb-org-4.2-c9
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
../../../../../../../../rpm/mongodb-org-4.4-c9
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
../../../../../../../../rpm/mongodb-org-5.0-c9
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
../../../../../../../../rpm/mongodb-org-6.0-c9
|
||||||
5
deb-mirror.sh
Executable file
5
deb-mirror.sh
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
docker build -t debmirror:latest -f Dockerfile.deb .
|
||||||
|
docker run -v "$(pwd)/data/deb":/data debmirror:latest
|
||||||
|
|
||||||
5
rpm-mirror.sh
Executable file
5
rpm-mirror.sh
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
docker build -t rpmmirror:latest -f Dockerfile.rpm .
|
||||||
|
docker run -v "$(pwd)/data/rpm":/data rpmmirror:latest
|
||||||
|
|
||||||
Reference in New Issue
Block a user