New method
This commit is contained in:
parent
590209a9ba
commit
8da4693b9f
28 changed files with 111 additions and 330 deletions
|
@ -1,25 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=2022.6.2
|
||||
|
||||
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
||||
|
||||
APP=vaultwarden-web
|
||||
GIT_VERSION=v$VERSION
|
||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
||||
DEBIAN_VERSION_CODENAME=bullseye
|
||||
IMAGE_SIZE=5
|
||||
DEPOT=https://github.com/dani-garcia/bw_web_builds.git
|
||||
PACKAGE_DEPENDENCY="build-essential python nodejs"
|
||||
|
||||
STEP="minimum_package envinit default_prebuild build makedeb"
|
||||
|
||||
envinit() {
|
||||
configure_depot_yarn
|
||||
configure_depot_nodejs
|
||||
apt-get update
|
||||
apt-get dist-upgrade -y
|
||||
apt install -y --no-install-recommends build-essential python nodejs
|
||||
}
|
||||
STEP="base_package_upgrade configure_depot_nodejs install_package_dependency get_git_source build makedeb"
|
||||
|
||||
build() {
|
||||
cd /tmp/${APP}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue