Some checks failed
Build / build (pull_request) Failing after 1m17s
- nfpm has been packaged and stored in unkin repo
15 lines
435 B
Docker
15 lines
435 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 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
|