1
This commit is contained in:
commit
18efe9043b
18
Makefile
Normal file
18
Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
PACKAGES := $(shell cat common-tools)
|
||||
|
||||
all:
|
||||
echo OK
|
||||
|
||||
upgrade:
|
||||
dnf check-update
|
||||
dnf update -y
|
||||
|
||||
update-gpg-keys:
|
||||
rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux
|
||||
curl "https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinu" -o "/etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux.in" && mv "/etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux.in" "/etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux"
|
||||
|
||||
install-common-tools:
|
||||
dnf check-update
|
||||
echo $(PACKAGES)
|
||||
dnf install -y $(PACKAGES)
|
||||
|
4
common-tools
Normal file
4
common-tools
Normal file
@ -0,0 +1,4 @@
|
||||
vim
|
||||
make
|
||||
wget
|
||||
git
|
Loading…
Reference in New Issue
Block a user