Add gotify
optimize apt without recommends packages add package dpkg fakeroot when needed
This commit is contained in:
parent
a340b7db22
commit
b69d1ee47f
29 changed files with 77 additions and 94 deletions
|
@ -3,7 +3,7 @@
|
|||
STEP="envinit prebuild build makedeb"
|
||||
|
||||
envinit() {
|
||||
apt-get install -y wget ca-certificates gnupg2 composer git php-simplexml php-gd
|
||||
apt-get install -y --no-install-recommends wget ca-certificates gnupg2 composer git php-simplexml php-gd fakeroot dpkg
|
||||
wget -qO - https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor > /usr/share/keyrings/yarnkey.gpg
|
||||
echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" > /etc/apt/sources.list.d/yarn.list
|
||||
apt-get update
|
||||
|
@ -11,10 +11,8 @@ envinit() {
|
|||
}
|
||||
|
||||
prebuild(){
|
||||
VERSION=$1
|
||||
git clone https://github.com/grocy/grocy.git /tmp/grocy
|
||||
cd /tmp/grocy/
|
||||
git checkout $VERSION
|
||||
GIT_VERSION=$1
|
||||
git clone --depth 1 -b ${GIT_VERSION} https://github.com/grocy/grocy.git /tmp/grocy/
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue