new version
This commit is contained in:
parent
0207fb1325
commit
efdd66373e
7 changed files with 85 additions and 24 deletions
|
@ -38,7 +38,7 @@ configure_depot_nodejs() {
|
|||
}
|
||||
|
||||
install_go() {
|
||||
GO_VERSION=1.20.5
|
||||
GO_VERSION=1.20.6
|
||||
[ ! "$1" == "" ] && GO_VERSION=$1
|
||||
PATH=$PATH:/usr/local/go/bin
|
||||
if [ ! "$(go version)" == "go version go${GO_VERSION} linux/amd64" ] ;
|
||||
|
@ -57,6 +57,12 @@ install_clojure() {
|
|||
wget -qO - https://download.clojure.org/install/linux-install-1.11.1.1155.sh | bash
|
||||
}
|
||||
|
||||
install_composer(){
|
||||
wget https://getcomposer.org/installer -O /tmp/installer
|
||||
php /tmp/installer
|
||||
php composer-setup.php --install-dir=/usr/bin
|
||||
rm /tmp/installer
|
||||
}
|
||||
|
||||
minimum_package() {
|
||||
base_package_upgrade
|
||||
|
|
|
@ -30,7 +30,8 @@ zdebmaker_createAppOS(){
|
|||
[ -f cache/${DEBIAN_VERSION_CODENAME} ] || zdebmaker_createOS
|
||||
|
||||
[ "${IMAGE_SIZE}" == "" ] && IMAGE_SIZE=2
|
||||
dd if=/dev/zero of=cache/${APP}.tmp bs=1G count=${IMAGE_SIZE}
|
||||
# dd if=/dev/zero of=cache/${APP}.tmp bs=1G count=${IMAGE_SIZE}
|
||||
truncate -s ${IMAGE_SIZE}G cache/${APP}.tmp
|
||||
sudo mkfs.ext4 cache/${APP}.tmp
|
||||
|
||||
[ -d ${MOUNT_PATH}/${APP}/ ] || sudo mkdir -p ${MOUNT_PATH}/${APP}/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue