mirror of
https://github.com/upa/mscp.git
synced 2026-03-12 02:57:34 +08:00
cleanup docker files and build/test procedure
This commit is contained in:
18
scripts/install-build-deps.sh
Executable file
18
scripts/install-build-deps.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash -e
|
||||
#
|
||||
# Install build dpenedencies.
|
||||
|
||||
source /etc/os-release
|
||||
set -x
|
||||
|
||||
case $ID in
|
||||
ubuntu*)
|
||||
apt-get install -y gcc make cmake libssh-dev
|
||||
;;
|
||||
centos* | rhel*)
|
||||
dnf install -y gcc make cmake libssh-devel rpm-build
|
||||
;;
|
||||
*)
|
||||
echo "unsupported dependency install: $ID"
|
||||
exit 1
|
||||
esac
|
||||
Reference in New Issue
Block a user