fixes to imagen
This commit is contained in:
+3
-19
@@ -145,28 +145,12 @@ for ver in "${NODE[@]}"; do
|
||||
done
|
||||
|
||||
case "$(uname -m)" in
|
||||
'aarch64')
|
||||
scripts=(
|
||||
yq
|
||||
)
|
||||
;;
|
||||
'x86_64')
|
||||
scripts=(
|
||||
yq
|
||||
)
|
||||
;;
|
||||
'armv7l')
|
||||
scripts=(
|
||||
yq
|
||||
)
|
||||
;;
|
||||
aarch64|x86_64|armv7l) ;;
|
||||
*) exit 1 ;;
|
||||
esac
|
||||
|
||||
for SCRIPT in "${scripts[@]}"; do
|
||||
printf "\n\t🧨 Executing %s.sh 🧨\t\n" "${SCRIPT}"
|
||||
bash "/imagegeneration/installers/${SCRIPT}.sh"
|
||||
done
|
||||
printf "\n\t🧨 Executing yq.sh 🧨\t\n"
|
||||
bash "/imagegeneration/installers/yq.sh"
|
||||
|
||||
printf "\n\t🐋 Cleaning image 🐋\t\n"
|
||||
apt-get clean
|
||||
|
||||
Reference in New Issue
Block a user