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-buildrunner/Dockerfile
Ben Vincent 3a0e93e18f
All checks were successful
Build / build (pull_request) Successful in 2m32s
feat: change to nfpm from rpms
- nfpm has been packaged and stored in unkin repo
2024-12-02 22:06:13 +11:00

17 lines
481 B
Docker

# Start with the AlmaLinux 8.10 base image
FROM git.query.consul/unkin/almalinux8:latest
# Install nodejs:20 for actions
RUN dnf module enable -y nodejs:20 && \
dnf install -y nodejs
# Install build tools and dependencies for building RPMs
RUN dnf clean all && \
dnf makecache && \
dnf groupinstall -y 'Development Tools' && \
dnf install -y make cmake gcc gcc-c++ rpm rpmdevtools wget tar gzip go nfpm
# Cleanup
RUN dnf clean all && \
rm -rf /var/cache/dnf