diff --git a/.drone.yml b/.drone.yml index 66163f9..7140305 100644 --- a/.drone.yml +++ b/.drone.yml @@ -51,9 +51,3 @@ trigger: event: - push - pull_request - -secrets: - - source: docker_username - target: DOCKER_USERNAME - - source: docker_password - target: DOCKER_PASSWORD diff --git a/Dockerfile b/Dockerfile index f19f4e8..5b4c5e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/makefile b/Makefile similarity index 100% rename from makefile rename to Makefile diff --git a/files/appstream.repo b/files/appstream.repo index ed8eceb..fc7ca36 100644 --- a/files/appstream.repo +++ b/files/appstream.repo @@ -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 diff --git a/files/baseos.repo b/files/baseos.repo index 3d6ec72..b1420ec 100644 --- a/files/baseos.repo +++ b/files/baseos.repo @@ -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 diff --git a/files/epel.repo b/files/epel.repo index b096733..0ad2389 100644 --- a/files/epel.repo +++ b/files/epel.repo @@ -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 diff --git a/files/powertools.repo b/files/powertools.repo index 62dc01e..666e7de 100644 --- a/files/powertools.repo +++ b/files/powertools.repo @@ -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 diff --git a/files/unkin.repo b/files/unkin.repo new file mode 100644 index 0000000..d8e891e --- /dev/null +++ b/files/unkin.repo @@ -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