feat: create base almalinux 8.10 image
- add drone.yml - add makefile - add Dockerfile - add repos
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
# 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 && \
|
||||
dnf clean all && \
|
||||
rm -rf /var/cache/dnf
|
||||
Reference in New Issue
Block a user