mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
test
This commit is contained in:
@@ -1,27 +1,18 @@
|
||||
{
|
||||
"name": "Papermerge",
|
||||
"version": "2.0.1-3",
|
||||
"version": "2.0.1-4",
|
||||
"upstream": "2.0.1",
|
||||
"slug": "papermerge",
|
||||
"description": "Open source document management system (DMS)",
|
||||
"url": "https://github.com/alexbelgium/hassio-addons",
|
||||
"arch": [
|
||||
"aarch64",
|
||||
"amd64",
|
||||
"armv7",
|
||||
"armhf"
|
||||
],
|
||||
"arch": ["aarch64", "amd64", "armv7", "armhf"],
|
||||
"ports": {
|
||||
"8000/tcp": 8000
|
||||
},
|
||||
"ports_description": {
|
||||
"8000/tcp": "Web UI port (required)"
|
||||
},
|
||||
"map": [
|
||||
"share:rw",
|
||||
"media:rw",
|
||||
"ssl"
|
||||
],
|
||||
"map": ["share:rw", "media:rw", "ssl"],
|
||||
"webui": "http://[HOST]:[PORT:8000]",
|
||||
"environment": {
|
||||
"DOCKER_MODS": "linuxserver/mods:papermerge-multilangocr"
|
||||
|
||||
29
papermerge/rootfs/etc/cont-init.d/00-aaa_bashio
Normal file
29
papermerge/rootfs/etc/cont-init.d/00-aaa_bashio
Normal file
@@ -0,0 +1,29 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ ! -f "/usr/lib/bashio" ]; then
|
||||
echo "Bashio does not exist, executing script"
|
||||
|
||||
################
|
||||
# Install apps #
|
||||
################
|
||||
apt-get clean
|
||||
apt-get update \
|
||||
apt-get install -y --no-install-recommends \
|
||||
jq \
|
||||
curl \
|
||||
cifs-utils \
|
||||
keyutils \
|
||||
samba
|
||||
|
||||
###################
|
||||
# Install bashio #
|
||||
##################
|
||||
mkdir -p /tmp/bashio
|
||||
curl -L -f -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" |
|
||||
tar -xzf - --strip 1 -C /tmp/bashio \
|
||||
mv /tmp/bashio/lib /usr/lib/bashio \
|
||||
ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
|
||||
rm -rf /tmp/bashio
|
||||
|
||||
echo "Bashio installed"
|
||||
fi
|
||||
Reference in New Issue
Block a user