Compare commits
1 Commits
1de8a88b9b
...
05c69bc89b
| Author | SHA1 | Date | |
|---|---|---|---|
| 05c69bc89b |
@ -1,10 +1,6 @@
|
||||
# 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
|
||||
@ -14,9 +10,10 @@ RUN dnf groupinstall -y 'Development Tools' && \
|
||||
dnf install -y make cmake gcc gcc-c++ rpm rpmdevtools wget tar gzip go
|
||||
|
||||
# Install nfpm using the RPM package
|
||||
ARG NFPM_VERSION
|
||||
ENV NFPM_VERSION=${NFPM_VERSION}
|
||||
RUN dnf install -y https://github.com/goreleaser/nfpm/releases/download/v${NFPM_VERSION}/nfpm-${NFPM_VERSION}-1.x86_64.rpm
|
||||
|
||||
|
||||
# Cleanup
|
||||
RUN dnf clean all && \
|
||||
rm -rf /var/cache/dnf
|
||||
|
||||
Reference in New Issue
Block a user