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: event:
- push - push
- pull_request - 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 from the local context into the container
COPY files/*.repo /etc/yum.repos.d/ 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 # Clean and update the repository cache
RUN dnf clean all && \ RUN dnf clean all && \
dnf makecache dnf makecache

View File

View File

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

View File

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

View File

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

View File

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