generated from unkin/docker-template
All checks were successful
Build / build (pull_request) Successful in 1m30s
- manage almalinux 8 and 9 deployments
20 lines
529 B
Docker
20 lines
529 B
Docker
# Start with the AlmaLinux 9 base image
|
|
FROM git.query.consul/unkin/almalinux9:latest
|
|
|
|
# Clean and update the repository cache
|
|
RUN dnf clean all && \
|
|
dnf makecache
|
|
|
|
# Install nodejs:20 for actions
|
|
RUN dnf module enable -y nodejs:20 && \
|
|
dnf install -y nodejs
|
|
|
|
# Install packages
|
|
RUN dnf install -y yum-utils && \
|
|
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo && \
|
|
dnf install -y docker-ce-cli make bash git unzip
|
|
|
|
# Cleanup
|
|
RUN dnf clean all && \
|
|
rm -rf /var/cache/dnf
|