generated from unkin/docker-template
- manage almalinux 8 and 9 deployments
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# Start with the AlmaLinux 8.10 base image
|
||||
FROM git.query.consul/unkin/almalinux8: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
|
||||
@@ -0,0 +1,19 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user