docker-template/Dockerfile
Ben Vincent dfe9b1fefd
All checks were successful
Build / build (pull_request) Successful in 2m43s
feat: setup template repo
- add Makefile, Dockerfile and action workflows
2024-09-08 02:16:51 +10:00

19 lines
462 B
Docker

# 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 groupinstall -y 'Development Tools' && \
dnf install -y make cmake gcc gcc-c++ rpm rpmdevtools wget
# Cleanup
RUN dnf clean all && \
rm -rf /var/cache/dnf