2nd version of the day
This commit is contained in:
parent
568c7a4342
commit
f8e85eec79
15 changed files with 116 additions and 7 deletions
25
ressources/baikal/debmaker
Executable file
25
ressources/baikal/debmaker
Executable file
|
@ -0,0 +1,25 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=0.9.3
|
||||
APP=baikal
|
||||
DEPOT=https://github.com/sabre-io/Baikal.git
|
||||
GIT_VERSION=${VERSION}
|
||||
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
|
||||
DEBIAN_VERSION_CODENAME=bullseye
|
||||
IMAGE_SIZE=2
|
||||
PACKAGE_DEPENDENCY="php-mbstring php-exif php-opcache php-sockets php-tokenizer php-iconv php-json php-phar php-curl rsync zip make composer unzip debhelper-compat"
|
||||
|
||||
main(){
|
||||
base_package_upgrade
|
||||
install_package_dependency
|
||||
get_git_source
|
||||
makedeb
|
||||
}
|
||||
|
||||
makedeb(){
|
||||
cd /tmp/${APP}/
|
||||
cp -fr /tmp/src/debian /tmp/${APP}
|
||||
dch -v ${VERSION}
|
||||
dpkg-buildpackage -us -uc
|
||||
cp /tmp/*.deb /tmp/dist
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue