This repository has been archived on 2025-07-06. You can view files and clone it, but cannot push or open issues or pull requests.
docker-almalinux-base/Dockerfile
Ben Vincent bba4ed76df
Some checks failed
continuous-integration/drone/push Build is failing
chore: updates
- remove secrets section
- add unkin repo
- add internal-ca-certificates to be installed
2024-08-26 22:03:49 +10:00

19 lines
518 B
Docker

# Start with the base AlmaLinux 8.10 image
FROM almalinux:8.10
# Remove existing repos and copy custom repo files into the container
RUN rm -rf /etc/yum.repos.d/*.repo
# Copy from the local context into the container
COPY files/*.repo /etc/yum.repos.d/
# Clean and update the repository cache
RUN dnf clean all && \
dnf makecache
# Update the system and install required packages
RUN dnf update -y && \
dnf install -y curl git internal-ca-certificates && \
dnf clean all && \
rm -rf /var/cache/dnf