'Generic Commit'
Some checks failed
Build-Test-Publish / build (push) Successful in 3s
dropshell-build / build (push) Failing after 2m4s

This commit is contained in:
Your Name 2025-06-01 13:07:26 +12:00
parent 79586050bf
commit 6e0c9e830a
3 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,7 @@ RUN apt-get update && apt-get install -y \
build-essential \ build-essential \
cmake \ cmake \
git \ git \
nlohmann-json3-dev wget curl cmake ninja-build mold build-essential nodejs npm jq \ nlohmann-json3-dev wget curl cmake ninja-build mold build-essential nodejs npm jq ccache \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
#RUN curl -fsSL https://get.docker.com | sh #RUN curl -fsSL https://get.docker.com | sh

View File

@ -67,8 +67,6 @@ function check_packages() {
fi fi
echo "Package $pkg is installed" echo "Package $pkg is installed"
done done
} }
@ -260,6 +258,8 @@ function buildspawn() {
# ---------------------------------------------------------------------------------------------------------- # ----------------------------------------------------------------------------------------------------------
function main() { function main() {
check_packages
while getopts "rm" opt; do while getopts "rm" opt; do
case $opt in case $opt in
r) r)

View File

@ -79,12 +79,12 @@ function install_packages() {
case $OS in case $OS in
"Ubuntu"|"Debian GNU/Linux") "Ubuntu"|"Debian GNU/Linux")
# Common packages for both Ubuntu and Debian # Common packages for both Ubuntu and Debian
PACKAGES="build-essential cmake git wget tar curl ninja-build mold nodejs npm perl jq" PACKAGES="build-essential cmake git wget tar curl ninja-build mold nodejs npm perl jq ccache"
INSTALLCMD="apt-get install -y" INSTALLCMD="apt-get install -y"
UPDATECMD="apt-get update" UPDATECMD="apt-get update"
;; ;;
"Alpine Linux") "Alpine Linux")
PACKAGES="build-base cmake git wget tar curl ninja mold nodejs npm linux-headers perl jq" PACKAGES="build-base cmake git wget tar curl ninja mold nodejs npm linux-headers perl jq ccache"
INSTALLCMD="apk add --no-cache" INSTALLCMD="apk add --no-cache"
UPDATECMD="apk update" UPDATECMD="apk update"
;; ;;