Compare commits
No commits in common. "97b5962d841f846718fd5b6c4b14561682387a79" and "f2f96c288b523417fee59b8ee0c45510ee5074f2" have entirely different histories.
97b5962d84
...
f2f96c288b
|
@ -58,7 +58,6 @@ To enter in temporary filesystem
|
||||||
- [mautrix-syncproxy and mautrix-wsproxy](./ressources/mautrix-syncproxy)
|
- [mautrix-syncproxy and mautrix-wsproxy](./ressources/mautrix-syncproxy)
|
||||||
- [mautrix-whatsapp](./ressources/mautrix-whatsapp)
|
- [mautrix-whatsapp](./ressources/mautrix-whatsapp)
|
||||||
- [metabase](./ressources/metabase)
|
- [metabase](./ressources/metabase)
|
||||||
- [minio](./ressources/minio)
|
|
||||||
- [phpbb](./ressources/phpbb)
|
- [phpbb](./ressources/phpbb)
|
||||||
- [roundcubemail](./ressources/roundcubemail)
|
- [roundcubemail](./ressources/roundcubemail)
|
||||||
- [rss-bridge](./ressources/rss-bridge)
|
- [rss-bridge](./ressources/rss-bridge)
|
||||||
|
|
|
@ -36,7 +36,7 @@ configure_depot_nodejs() {
|
||||||
}
|
}
|
||||||
|
|
||||||
install_go() {
|
install_go() {
|
||||||
GO_VERSION=1.19.2
|
GO_VERSION=1.19
|
||||||
[ ! "$1" == "" ] && GO_VERSION=$1
|
[ ! "$1" == "" ] && GO_VERSION=$1
|
||||||
PATH=$PATH:/usr/local/go/bin
|
PATH=$PATH:/usr/local/go/bin
|
||||||
if [ ! "$(go version)" == "go version go${GO_VERSION} linux/amd64" ] ;
|
if [ ! "$(go version)" == "go version go${GO_VERSION} linux/amd64" ] ;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=0.108.0-b.18
|
VERSION=0.108.0-b.16
|
||||||
APP=adguardhome
|
APP=adguardhome
|
||||||
DEPOT=https://github.com/AdguardTeam/AdGuardHome.git
|
DEPOT=https://github.com/AdguardTeam/AdGuardHome.git
|
||||||
GIT_VERSION=v${VERSION}
|
GIT_VERSION=v${VERSION}
|
||||||
|
@ -9,16 +9,7 @@ DEBIAN_VERSION_CODENAME=bullseye
|
||||||
IMAGE_SIZE=4
|
IMAGE_SIZE=4
|
||||||
PACKAGE_DEPENDENCY="build-essential nodejs yarn"
|
PACKAGE_DEPENDENCY="build-essential nodejs yarn"
|
||||||
|
|
||||||
main(){
|
STEP="base_package_upgrade configure_depot_yarn configure_depot_nodejs install_package_dependency install_go get_git_source build makedeb"
|
||||||
base_package_upgrade
|
|
||||||
configure_depot_yarn
|
|
||||||
configure_depot_nodejs
|
|
||||||
install_package_dependency
|
|
||||||
install_go
|
|
||||||
get_git_source
|
|
||||||
build
|
|
||||||
makedeb
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd /tmp/${APP}
|
cd /tmp/${APP}
|
||||||
|
|
|
@ -7,19 +7,12 @@ GIT_VERSION=v${VERSION}
|
||||||
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
|
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
|
||||||
DEBIAN_VERSION_CODENAME=bullseye
|
DEBIAN_VERSION_CODENAME=bullseye
|
||||||
IMAGE_SIZE=6
|
IMAGE_SIZE=6
|
||||||
PACKAGE_DEPENDENCY="build-essential nodejs"
|
|
||||||
|
|
||||||
main(){
|
STEP="base_package_upgrade envinit get_git_source build makedeb"
|
||||||
base_package_upgrade
|
|
||||||
envinit
|
|
||||||
get_git_source
|
|
||||||
build
|
|
||||||
makedeb
|
|
||||||
}
|
|
||||||
|
|
||||||
envinit() {
|
envinit() {
|
||||||
configure_depot_nodejs
|
configure_depot_nodejs
|
||||||
install_package_dependency
|
apt install -y --no-install-recommends build-essential nodejs
|
||||||
install_go
|
install_go
|
||||||
wget -qO - https://get.pnpm.io/install.sh | sh -
|
wget -qO - https://get.pnpm.io/install.sh | sh -
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,6 +27,8 @@ build() {
|
||||||
electron-builder --linux dir --x64 -p never
|
electron-builder --linux dir --x64 -p never
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
makedeb(){
|
makedeb(){
|
||||||
PATH_DEB=/tmp/src/rootfs
|
PATH_DEB=/tmp/src/rootfs
|
||||||
|
|
||||||
|
|
|
@ -25,9 +25,8 @@ envinit() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd /tmp/${APP}
|
cd /tmp/${APP}
|
||||||
yarn
|
yarn install
|
||||||
yarn bootstrap
|
yarn dist
|
||||||
yarn build
|
|
||||||
}
|
}
|
||||||
|
|
||||||
makedeb(){
|
makedeb(){
|
||||||
|
|
|
@ -7,20 +7,13 @@ GIT_VERSION=v${VERSION}
|
||||||
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
|
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
|
||||||
DEBIAN_VERSION_CODENAME=bullseye
|
DEBIAN_VERSION_CODENAME=bullseye
|
||||||
IMAGE_SIZE=4
|
IMAGE_SIZE=4
|
||||||
PACKAGE_DEPENDENCY="yarn nodejs"
|
|
||||||
|
|
||||||
main(){
|
STEP="base_package_upgrade envinit get_git_source build makedeb"
|
||||||
base_package_upgrade
|
|
||||||
envinit
|
|
||||||
get_git_source
|
|
||||||
build
|
|
||||||
makedeb
|
|
||||||
}
|
|
||||||
|
|
||||||
envinit() {
|
envinit() {
|
||||||
configure_depot_yarn
|
configure_depot_yarn
|
||||||
configure_depot_nodejs
|
configure_depot_nodejs
|
||||||
install_package_dependency
|
apt install -y --no-install-recommends yarn nodejs
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
@ -34,7 +27,6 @@ makedeb(){
|
||||||
|
|
||||||
tar -zxf /tmp/${APP}/dist/element-${GIT_VERSION}.tar.gz --strip-components=1 -C ${PATH_DEB}/usr/share/element-web/
|
tar -zxf /tmp/${APP}/dist/element-${GIT_VERSION}.tar.gz --strip-components=1 -C ${PATH_DEB}/usr/share/element-web/
|
||||||
cp /tmp/${APP}/config.sample.json ${PATH_DEB}/etc/element-web/config.json
|
cp /tmp/${APP}/config.sample.json ${PATH_DEB}/etc/element-web/config.json
|
||||||
|
|
||||||
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
||||||
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=2.9.1
|
VERSION=2.7.4
|
||||||
APP=joplin-server
|
APP=joplin-server
|
||||||
GIT_VERSION=server-v${VERSION}
|
GIT_VERSION=server-v${VERSION}
|
||||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
||||||
|
|
|
@ -7,7 +7,7 @@ GIT_VERSION=v$VERSION
|
||||||
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
|
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
|
||||||
DEBIAN_VERSION_CODENAME=bullseye
|
DEBIAN_VERSION_CODENAME=bullseye
|
||||||
IMAGE_SIZE=10
|
IMAGE_SIZE=10
|
||||||
PACKAGE_DEPENDENCY="build-essential default-jdk curl nodejs yarn"
|
PACKAGE_DEPENDENCY="build-essential openjdk-17-jdk curl nodejs yarn"
|
||||||
|
|
||||||
STEP="base_package_upgrade envinit get_git_source build makedeb"
|
STEP="base_package_upgrade envinit get_git_source build makedeb"
|
||||||
|
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
#### minio
|
|
||||||
|
|
||||||
##### Information
|
|
||||||
Site : https://min.io/
|
|
||||||
|
|
||||||
Source : https://github.com/minio/minio
|
|
||||||
|
|
||||||
##### Install
|
|
||||||
|
|
||||||
```bash
|
|
||||||
apt install -y wget ca-certificates
|
|
||||||
wget -qO - https://deb.lgy.fr/install.sh | bash
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y minio
|
|
||||||
|
|
||||||
#edit /etc/default/minio
|
|
||||||
|
|
||||||
systemctl enable --now minio
|
|
||||||
```
|
|
|
@ -1,32 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
VERSION=RELEASE.2022-10-05T14-58-27Z
|
|
||||||
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
|
|
||||||
IMAGE_SIZE=4
|
|
||||||
PACKAGE_DEPENDENCY="build-essential"
|
|
||||||
|
|
||||||
main(){
|
|
||||||
base_package_upgrade
|
|
||||||
install_package_dependency
|
|
||||||
install_go
|
|
||||||
get_git_source
|
|
||||||
build
|
|
||||||
makedeb
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd /tmp/${APP}
|
|
||||||
make build
|
|
||||||
}
|
|
||||||
|
|
||||||
makedeb(){
|
|
||||||
PATH_DEB=/tmp/src/rootfs
|
|
||||||
for tmp in $(grep MINIO_ internal/config/constants.go | cut -d '"' -f 2); do echo "#$tmp=" ; done > ${PATH_DEB}/etc/default/minio
|
|
||||||
cp /tmp/minio/minio ${PATH_DEB}/usr/bin/minio
|
|
||||||
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
|
||||||
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
/etc/default/minio
|
|
|
@ -1,7 +0,0 @@
|
||||||
Package: minio
|
|
||||||
Version: %VERSION%
|
|
||||||
Section: base
|
|
||||||
Priority: optional
|
|
||||||
Architecture: amd64
|
|
||||||
Maintainer: Thomas Legay <thomas@lgy.fr>
|
|
||||||
Description: minio
|
|
|
@ -1,4 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
id minio&> /dev/null || useradd minio -r -s /bin/false -md /var/lib/minio
|
|
||||||
chown minio:minio /var/lib/minio
|
|
Binary file not shown.
|
@ -1,23 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Minio
|
|
||||||
ConditionFileIsExecutable=/usr/bin/minio
|
|
||||||
After=syslog.target network-online.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
User=minio
|
|
||||||
Group=minio
|
|
||||||
EnvironmentFile=/etc/default/minio
|
|
||||||
StartLimitInterval=5
|
|
||||||
StartLimitBurst=10
|
|
||||||
ExecStart=/usr/bin/minio server /var/lib/minio
|
|
||||||
PrivateTmp=true
|
|
||||||
PrivateDevices=true
|
|
||||||
ProtectHome=true
|
|
||||||
ProtectSystem=strict
|
|
||||||
WorkingDirectory=/var/lib//minio/
|
|
||||||
ReadWriteDirectories=/var/lib/minio/
|
|
||||||
Restart=always
|
|
||||||
RestartSec=10
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
Loading…
Reference in New Issue