update
This commit is contained in:
parent
109d1a34f2
commit
0207fb1325
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=0.108.0-b.41
|
||||
VERSION=0.108.0-b.42
|
||||
APP=adguardhome
|
||||
DEPOT=https://github.com/AdguardTeam/AdGuardHome.git
|
||||
GIT_VERSION=v${VERSION}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=2.0.1
|
||||
VERSION=2.0.3
|
||||
APP=babybuddy
|
||||
DEPOT=https://github.com/babybuddy/babybuddy.git
|
||||
GIT_VERSION=v${VERSION}
|
||||
|
|
|
@ -23,9 +23,9 @@ apt update
|
|||
apt install -y --no-install-recommends curl apt-transport-https gnupg wget ca-certificates software-properties-common
|
||||
|
||||
wget -qO - https://deb.lgy.fr/install.sh | bash
|
||||
wget -qO - https://deb.nodesource.com/setup_16.x | bash
|
||||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9
|
||||
apt-add-repository 'deb http://repos.azulsystems.com/debian stable main'
|
||||
wget -qO - https://deb.nodesource.com/setup_18.x | bash
|
||||
wget https://repos.azul.com/azul-repo.key -O - | gpg --dearmor -o /usr/share/keyrings/azul.gpg
|
||||
echo "deb [signed-by=/usr/share/keyrings/azul.gpg] https://repos.azul.com/zulu/deb stable main" > /etc/apt/sources.list.d/zulu.list
|
||||
|
||||
#echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" > /etc/apt/sources.list.d/yarn.list
|
||||
#wget -qO - https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor > /usr/share/keyrings/yarnkey.gpg
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=2.3.21
|
||||
VERSION=2.8.28
|
||||
APP=budibase
|
||||
DEPOT=https://github.com/Budibase/budibase.git
|
||||
GIT_VERSION=v${VERSION}
|
||||
GIT_VERSION=${VERSION}
|
||||
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
|
||||
DEBIAN_VERSION_CODENAME=bullseye
|
||||
IMAGE_SIZE=20
|
||||
PACKAGE_DEPENDENCY="yarn nodejs"
|
||||
PACKAGE_DEPENDENCY="yarn nodejs build-essential"
|
||||
|
||||
main(){
|
||||
base_package_upgrade
|
||||
|
@ -19,15 +19,15 @@ main(){
|
|||
|
||||
envinit(){
|
||||
configure_depot_yarn
|
||||
configure_depot_nodejs 18
|
||||
configure_depot_nodejs 16
|
||||
install_package_dependency
|
||||
}
|
||||
|
||||
build() {
|
||||
cd /tmp/${APP}
|
||||
npm install -g yarn jest lerna --force
|
||||
npm install -g yarn jest lerna husky --force
|
||||
yarn
|
||||
yarn bootstrap
|
||||
#yarn bootstrap
|
||||
yarn build
|
||||
|
||||
rm -fr /tmp/${APP}/packages/*/build
|
||||
|
@ -36,11 +36,12 @@ build() {
|
|||
makedeb(){
|
||||
PATH_DEB=/tmp/src/rootfs
|
||||
|
||||
grep ":" /tmp/${APP}/packages/server/src/environment.js | cut -d ":" -f 1 | tr -d ' ' | grep ^[A-Z] | awk '{print "#"$1"="}' | sort > ${PATH_DEB}/etc/default/budibase-server
|
||||
grep ":" /tmp/${APP}/packages/worker/src/environment.ts | cut -d ":" -f 1 | tr -d ' ' | grep ^[A-Z] | awk '{print "#"$1"="}' | sort> ${PATH_DEB}/etc/default/budibase-worker
|
||||
grep "process.env" packages/server/src/environment.ts | grep ":" | cut -d ":" -f 1 | tr -d ' ' | grep ^[A-Z] | awk '{print "#"$1"="}' | sort > ${PATH_DEB}/etc/default/budibase-server
|
||||
grep "process.env" packages/worker/src/environment.ts | grep ":" | cut -d ":" -f 1 | tr -d ' ' | grep ^[A-Z] | awk '{print "#"$1"="}' | sort > ${PATH_DEB}/etc/default/budibase-worker
|
||||
|
||||
mkdir -p ${PATH_DEB}/opt/budibase/
|
||||
cp -fr /tmp/${APP}/packages/* ${PATH_DEB}/opt/budibase/
|
||||
cp -fr /tmp/${APP}/node_modules ${PATH_DEB}/opt/budibase/
|
||||
mkdir -p ${PATH_DEB}/opt/budibase/server/client
|
||||
cp ${PATH_DEB}/opt/budibase/client/manifest.json ${PATH_DEB}/opt/budibase/server/client
|
||||
cp ${PATH_DEB}/opt/budibase/client/dist/budibase-client.js ${PATH_DEB}/opt/budibase/server/client
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=2.21.1
|
||||
VERSION=2.21.6
|
||||
APP=clouseau
|
||||
DEPOT=https://github.com/cloudant-labs/clouseau.git
|
||||
GIT_VERSION=${VERSION}
|
||||
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
|
||||
DEBIAN_VERSION_CODENAME=bullseye
|
||||
DEBIAN_VERSION_CODENAME=bookworm
|
||||
IMAGE_SIZE=3
|
||||
PACKAGE_DEPENDENCY="software-properties-common erlang"
|
||||
PACKAGE_DEPENDENCY="software-properties-common erlang mvn"
|
||||
|
||||
main(){
|
||||
envinit
|
||||
|
@ -19,12 +19,12 @@ main(){
|
|||
envinit() {
|
||||
base_package_upgrade
|
||||
install_package_dependency
|
||||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9
|
||||
apt-add-repository 'deb http://repos.azulsystems.com/debian stable main'
|
||||
wget https://repos.azul.com/azul-repo.key | gpg --dearmor -O /usr/share/keyrings/azul.gpg
|
||||
echo "deb [signed-by=/usr/share/keyrings/azul.gpg] https://repos.azul.com/zulu/deb stable main" > /etc/apt/sources.list.d/zulu.list
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends zulu-7
|
||||
mkdir -p /usr/share/maven
|
||||
wget -O - https://dlcdn.apache.org/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.tar.gz | tar -zxC /usr/share/maven --strip-components=1
|
||||
wget -O - https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.tar.gz | tar -zxC /usr/share/maven --strip-components=1
|
||||
|
||||
rm -f /usr/bin/mvn
|
||||
ln -s /usr/share/maven/bin/mvn /usr/bin/mvn
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=1.11.33
|
||||
VERSION=1.11.36
|
||||
APP=element-web
|
||||
DEPOT=https://github.com/vector-im/element-web.git
|
||||
GIT_VERSION=v${VERSION}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=1.19.3-0
|
||||
VERSION=1.20.1-0
|
||||
APP=forgejo
|
||||
DEPOT=https://codeberg.org/forgejo/forgejo
|
||||
GIT_VERSION=v${VERSION}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
APP=gotify
|
||||
VERSION=2.2.4
|
||||
VERSION=2.3.0
|
||||
GIT_VERSION=v$VERSION
|
||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
||||
DEBIAN_VERSION_CODENAME=bullseye
|
||||
DEBIAN_VERSION_CODENAME=bookworm
|
||||
IMAGE_SIZE=6
|
||||
DEPOT=https://github.com/gotify/server.git
|
||||
PACKAGE_DEPENDENCY="build-essential nodejs yarn"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=2.12.7
|
||||
VERSION=2.12.9
|
||||
APP=joplin-desktop
|
||||
GIT_VERSION=v${VERSION}
|
||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
||||
|
|
|
@ -1,24 +1,33 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=1.4.11-21.0.0
|
||||
VERSION=1.4.99-22.0.0
|
||||
APP=keycloak-radius-plugin
|
||||
DEPOT=https://github.com/vzakharchenko/keycloak-radius-plugin.git
|
||||
GIT_VERSION=v${VERSION}
|
||||
GIT_VERSION=last
|
||||
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
|
||||
DEBIAN_VERSION_CODENAME=bookworm
|
||||
IMAGE_SIZE=12
|
||||
PACKAGE_DEPENDENCY="default-jdk maven"
|
||||
|
||||
shopt -s extglob
|
||||
|
||||
main(){
|
||||
base_package_upgrade
|
||||
install_package_dependency
|
||||
get_git_source
|
||||
#get_git_source
|
||||
[ -e /tmp/${APP} ] && rm -fr /tmp/${APP}
|
||||
git clone https://github.com/elkman/keycloak-radius-plugin.git /tmp/${APP}
|
||||
cd /tmp/${APP}
|
||||
git checkout remotes/origin/feature/upgrade-to-kc22.0.1
|
||||
build
|
||||
makedeb
|
||||
}
|
||||
|
||||
build() {
|
||||
cd /tmp/${APP}/keycloak-plugins
|
||||
KEYCLOAK_VERSION=22.0.1
|
||||
sed -i "s/<keycloak.version>[0-9]\+\(\.[0-9]\+\)*<\/keycloak.version>/<keycloak.version>${KEYCLOAK_VERSION}<\/keycloak.version>/g" pom.xml
|
||||
mvn clean install -DskipTestsuite -DskipExamples -DskipTests
|
||||
}
|
||||
|
||||
|
@ -27,14 +36,15 @@ makedeb(){
|
|||
|
||||
mkdir -p ${PATH_DEB}/usr/lib/keycloak/providers
|
||||
|
||||
cp /tmp/${APP}/keycloak-plugins/chillispot-radius-plugin/target/original-chillispot-radius-plugin-1.4.11.jar ${PATH_DEB}/usr/lib/keycloak/providers
|
||||
cp /tmp/${APP}/keycloak-plugins/cisco-radius-plugin/target/original-cisco-radius-plugin-1.4.11.jar ${PATH_DEB}/usr/lib/keycloak/providers
|
||||
cp /tmp/${APP}/keycloak-plugins/proxy-radius-plugin/target/original-proxy-radius-plugin-1.4.11.jar ${PATH_DEB}/usr/lib/keycloak/providers
|
||||
cp /tmp/${APP}/keycloak-plugins/radius-disconnect-plugin/target/original-radius-disconnect-plugin-1.4.11.jar ${PATH_DEB}/usr/lib/keycloak/providers
|
||||
cp /tmp/${APP}/keycloak-plugins/radius-plugin/target/original-radius-plugin-1.4.11.jar ${PATH_DEB}/usr/lib/keycloak/providers
|
||||
cp /tmp/${APP}/keycloak-plugins/rad-sec-plugin/target/original-rad-sec-plugin-1.4.11.jar ${PATH_DEB}/usr/lib/keycloak/providers
|
||||
cp /tmp/${APP}/keycloak-plugins/mikrotik-radius-plugin/target/original-mikrotik-radius-plugin-1.4.11.jar ${PATH_DEB}/usr/lib/keycloak/providers
|
||||
cp /tmp/${APP}/keycloak-plugins/radius-theme/target/radius-theme-1.4.11.zip ${PATH_DEB}/usr/lib/keycloak/providers
|
||||
|
||||
cp /tmp/${APP}/keycloak-plugins/chillispot-radius-plugin/target/chillispot-radius-plugin-*[[:digit:]].*[[:digit:]].*[[:digit:]]+(-SNAPSHOT).jar ${PATH_DEB}/usr/lib/keycloak/providers
|
||||
cp /tmp/${APP}/keycloak-plugins/cisco-radius-plugin/target/cisco-radius-plugin-*[[:digit:]].*[[:digit:]].*[[:digit:]]+(-SNAPSHOT).jar ${PATH_DEB}/usr/lib/keycloak/providers
|
||||
cp /tmp/${APP}/keycloak-plugins/proxy-radius-plugin/target/proxy-radius-plugin-*[[:digit:]].*[[:digit:]].*[[:digit:]]+(-SNAPSHOT).jar ${PATH_DEB}/usr/lib/keycloak/providers
|
||||
cp /tmp/${APP}/keycloak-plugins/radius-disconnect-plugin/target/radius-disconnect-plugin-*[[:digit:]].*[[:digit:]].*[[:digit:]]+(-SNAPSHOT).jar ${PATH_DEB}/usr/lib/keycloak/providers
|
||||
cp /tmp/${APP}/keycloak-plugins/radius-plugin/target/radius-plugin-*[[:digit:]].*[[:digit:]].*[[:digit:]]+(-SNAPSHOT).jar ${PATH_DEB}/usr/lib/keycloak/providers
|
||||
cp /tmp/${APP}/keycloak-plugins/rad-sec-plugin/target/rad-sec-plugin-*[[:digit:]].*[[:digit:]].*[[:digit:]]+(-SNAPSHOT).jar ${PATH_DEB}/usr/lib/keycloak/providers
|
||||
cp /tmp/${APP}/keycloak-plugins/mikrotik-radius-plugin/target/mikrotik-radius-plugin-*[[:digit:]].*[[:digit:]].*[[:digit:]]+(-SNAPSHOT).jar ${PATH_DEB}/usr/lib/keycloak/providers
|
||||
cp /tmp/${APP}/keycloak-plugins/radius-theme/target/radius-theme-*[[:digit:]].*[[:digit:]].*[[:digit:]]+(-SNAPSHOT).zip ${PATH_DEB}/usr/lib/keycloak/providers
|
||||
|
||||
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
||||
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=22.0.0
|
||||
VERSION=22.0.1
|
||||
APP=keycloak
|
||||
DEPOT=https://github.com/keycloak/keycloak.git
|
||||
GIT_VERSION=${VERSION}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=2.0.28
|
||||
VERSION=2.0.29
|
||||
APP=kimai2
|
||||
DEPOT=https://github.com/kevinpapst/kimai2.git
|
||||
GIT_VERSION=${VERSION}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=0.8.4
|
||||
VERSION=0.9.0
|
||||
APP=mautrix-whatsapp
|
||||
DEPOT=https://github.com/mautrix/whatsapp.git
|
||||
GIT_VERSION=v${VERSION}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=0.46.6
|
||||
VERSION=0.46.6.2
|
||||
APP=metabase
|
||||
DEPOT=https://github.com/metabase/metabase.git
|
||||
GIT_VERSION=v$VERSION
|
||||
|
@ -23,6 +23,7 @@ main(){
|
|||
build() {
|
||||
cd /tmp/${APP}/
|
||||
PATH=$PATH:/usr/local/bin
|
||||
npx browserslist@latest --update-db
|
||||
./bin/build.sh
|
||||
}
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=RELEASE.2023-01-20T02-05-44Z
|
||||
VERSION=RELEASE.2023-07-21T21-12-44Z
|
||||
APP=minio
|
||||
DEPOT=https://github.com/minio/minio.git
|
||||
GIT_VERSION=$VERSION
|
||||
DEB_VERSION=${VERSION:8:4}${VERSION:13:2}${VERSION:16:2}${VERSION:19:2}${VERSION:22:2}-$(date +%Y%m%d%H%M)
|
||||
DEBIAN_VERSION_CODENAME=bullseye
|
||||
DEBIAN_VERSION_CODENAME=bookworm
|
||||
IMAGE_SIZE=5
|
||||
PACKAGE_DEPENDENCY="build-essential"
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
APP=rustdesk-server
|
||||
VERSION=1.1.8
|
||||
VERSION=1.1.8-1
|
||||
GIT_VERSION=$VERSION
|
||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
||||
DEBIAN_VERSION_CODENAME=bullseye
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=1.29.0
|
||||
VERSION=1.29.1
|
||||
APP=vaultwarden
|
||||
GIT_VERSION=$VERSION
|
||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=2.5.4
|
||||
VERSION=2.6.1
|
||||
APP=wallabag
|
||||
GIT_VERSION=$VERSION
|
||||
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
|
||||
DEBIAN_VERSION_CODENAME=bullseye
|
||||
DEBIAN_VERSION_CODENAME=bookworm
|
||||
IMAGE_SIZE=4
|
||||
DEPOT=https://github.com/wallabag/wallabag.git
|
||||
|
||||
|
@ -20,10 +20,10 @@ main(){
|
|||
|
||||
envinit() {
|
||||
configure_depot_yarn
|
||||
configure_depot_nodejs
|
||||
configure_depot_nodejs 18
|
||||
install_package_dependency
|
||||
cd /opt/
|
||||
wget https://getcomposer.org/download/2.2.13/composer.phar -O /opt/composer.phar
|
||||
wget https://getcomposer.org/download/2.5.8/composer.phar -O /opt/composer.phar
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
Loading…
Reference in New Issue