Merge pull request 'neoloc/cleanup' (#3) from neoloc/cleanup into master
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: https://git.query.consul/unkin/docker-almalinux-base/pulls/3
This commit is contained in:
Ben Vincent 2024-08-26 22:21:12 +10:00
commit cd2631d74c
8 changed files with 18 additions and 14 deletions

View File

@ -51,9 +51,3 @@ trigger:
event:
- push
- pull_request
secrets:
- source: docker_username
target: DOCKER_USERNAME
- source: docker_password
target: DOCKER_PASSWORD

View File

@ -7,6 +7,10 @@ RUN rm -rf /etc/yum.repos.d/*.repo
# Copy from the local context into the container
COPY files/*.repo /etc/yum.repos.d/
# Install ca-certs
RUN curl -k -o internal-ca-certificates.rpm https://git.query.consul/unkin/-/packages/rpm/internal-ca-certificates/20240825-1.el8/files/756 && \
rpm -i internal-ca-certificates.rpm
# Clean and update the repository cache
RUN dnf clean all && \
dnf makecache

View File

View File

@ -1,6 +1,6 @@
[appstream]
name=appstream repository
baseurl=http://edgecache.query.consul/almalinux/8.10/AppStream/x86_64/os
gpgkey=http://edgecache.query.consul/almalinux/RPM-GPG-KEY-AlmaLinux-8
baseurl=https://edgecache.query.consul/almalinux/8.10/AppStream/x86_64/os
gpgkey=https://edgecache.query.consul/almalinux/RPM-GPG-KEY-AlmaLinux-8
enabled=1
gpgcheck=1

View File

@ -1,6 +1,6 @@
[baseos]
name=baseos repository
baseurl=http://edgecache.query.consul/almalinux/8.10/BaseOS/x86_64/os
gpgkey=http://edgecache.query.consul/almalinux/RPM-GPG-KEY-AlmaLinux-8
baseurl=https://edgecache.query.consul/almalinux/8.10/BaseOS/x86_64/os
gpgkey=https://edgecache.query.consul/almalinux/RPM-GPG-KEY-AlmaLinux-8
enabled=1
gpgcheck=1

View File

@ -1,6 +1,6 @@
[epel]
name=epel repository
baseurl=http://edgecache.query.consul/epel/8/Everything/x86_64
gpgkey=http://edgecache.query.consul/epel/RPM-GPG-KEY-EPEL-8
baseurl=https://edgecache.query.consul/epel/8/Everything/x86_64
gpgkey=https://edgecache.query.consul/epel/RPM-GPG-KEY-EPEL-8
enabled=1
gpgcheck=1

View File

@ -1,6 +1,6 @@
[powertools]
name=powertools repository
baseurl=http://edgecache.query.consul/almalinux/8.10/PowerTools/x86_64/os
gpgkey=http://edgecache.query.consul/almalinux/RPM-GPG-KEY-AlmaLinux-8
baseurl=https://edgecache.query.consul/almalinux/8.10/PowerTools/x86_64/os
gpgkey=https://edgecache.query.consul/almalinux/RPM-GPG-KEY-AlmaLinux-8
enabled=1
gpgcheck=1

6
files/unkin.repo Normal file
View File

@ -0,0 +1,6 @@
[gitea-unkin-almalimnux-8]
name=unkin - Gitea - almalimnux - 8
baseurl=https://git.query.consul/api/packages/unkin/rpm/almalimnux/8
enabled=1
gpgcheck=1
gpgkey=https://git.query.consul/api/packages/unkin/rpm/repository.key