feat: setup template repo
Build / build (pull_request) Successful in 2m43s

- add Makefile, Dockerfile and action workflows
This commit is contained in:
2024-09-08 02:16:51 +10:00
parent de8b732534
commit dfe9b1fefd
5 changed files with 121 additions and 2 deletions
+18
View File
@@ -0,0 +1,18 @@
# 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