mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
experimental
This commit is contained in:
@@ -3,22 +3,22 @@ ARG BUILD_VERSION
|
||||
FROM ${BUILD_FROM}
|
||||
ARG BASHIO_VERSION=0.14.3
|
||||
|
||||
RUN \
|
||||
RUN
|
||||
###################
|
||||
# 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 || true
|
||||
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 || true
|
||||
|
||||
RUN \
|
||||
RUN
|
||||
# Allow UID and GID setting
|
||||
sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser \
|
||||
&& sed -i 's/{PUID:-911}/(bashio::config "PUID")/g' /etc/cont-init.d/10-adduser \
|
||||
&& sed -i 's/{PGID:-911}/(bashio::config "PGID")/g' /etc/cont-init.d/10-adduser
|
||||
sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser &&
|
||||
sed -i 's/{PUID:-911}/(bashio::config "PUID")/g' /etc/cont-init.d/10-adduser &&
|
||||
sed -i 's/{PGID:-911}/(bashio::config "PGID")/g' /etc/cont-init.d/10-adduser
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Home assistant add-on: firefox
|
||||
# Home assistant add-on: Webtop Alpine
|
||||
|
||||
[![Donate][donation-badge]](https://www.buymeacoffee.com/alexbelgium)
|
||||
|
||||
@@ -14,8 +14,8 @@ _Thanks to everyone having starred my repo! To star it click on the image below,
|
||||
|
||||
## About
|
||||
|
||||
[firefox](https://github.com/firefox/firefox) is a well known internet browser.
|
||||
This addon is based on the docker image https://github.com/linuxserver/docker-firefox
|
||||
[webtop](https://github.com/webtop/webtop) is a full Alpine desktop environments accessible via any modern web browser.
|
||||
This addon is based on the docker image https://github.com/linuxserver/docker-webtop
|
||||
|
||||
## Configuration
|
||||
|
||||
@@ -41,7 +41,7 @@ Create an issue on github
|
||||
|
||||
## Illustration
|
||||
|
||||

|
||||

|
||||
|
||||
[repository]: https://github.com/alexbelgium/hassio-addons
|
||||
[smb-shield]: https://img.shields.io/badge/smb-yes-green.svg
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include <tunables/global>
|
||||
|
||||
profile firefox_addon flags=(attach_disconnected,mediate_deleted) {
|
||||
profile webtop_addon flags=(attach_disconnected,mediate_deleted) {
|
||||
#include <abstractions/base>
|
||||
|
||||
capability,
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"build_from": {
|
||||
"armhf": "linuxserver/firefox:arm32v7-latest",
|
||||
"armv7": "linuxserver/firefox:arm32v7-latest",
|
||||
"aarch64": "linuxserver/firefox:arm64v8-latest",
|
||||
"amd64": "linuxserver/firefox:amd64-latest"
|
||||
"armhf": "linuxserver/webtop:arm32v7-latest",
|
||||
"armv7": "linuxserver/webtop:arm32v7-latest",
|
||||
"aarch64": "linuxserver/webtop:arm64v8-latest",
|
||||
"amd64": "linuxserver/webtop:amd64-latest"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,23 +2,70 @@
|
||||
"apparmor": true,
|
||||
"arch": ["aarch64", "amd64", "armv7", "armhf"],
|
||||
"boot": "auto",
|
||||
"description": "Firefox browser accessible from webUI",
|
||||
"description": "Full Alpine desktop environments accessible via any modern web browser",
|
||||
"devices": [
|
||||
"/dev/net/tun",
|
||||
"/dev/sda",
|
||||
"/dev/sdb",
|
||||
"/dev/sdc",
|
||||
"/dev/sdd",
|
||||
"/dev/sde",
|
||||
"/dev/sdf",
|
||||
"/dev/sdg",
|
||||
"/dev/nvme",
|
||||
"/dev/mmcblk",
|
||||
"/dev/sda1",
|
||||
"/dev/sdb1",
|
||||
"/dev/sdc1",
|
||||
"/dev/sdd1",
|
||||
"/dev/sde1",
|
||||
"/dev/sdf1",
|
||||
"/dev/sdg1",
|
||||
"/dev/sda2",
|
||||
"/dev/sdb2",
|
||||
"/dev/sdc2",
|
||||
"/dev/sdd2",
|
||||
"/dev/sde2",
|
||||
"/dev/sdf2",
|
||||
"/dev/sdg2",
|
||||
"/dev/nvme0",
|
||||
"/dev/nvme1",
|
||||
"/dev/nvme2",
|
||||
"/dev/mmcblk0",
|
||||
"/dev/mmcblk0p1"
|
||||
],
|
||||
"environment": {
|
||||
"PUID": "1000",
|
||||
"PGID": "1000",
|
||||
"PUID": "0",
|
||||
"PGID": "0",
|
||||
"shm_size": "1gb"
|
||||
},
|
||||
"name": "Firefox test",
|
||||
"stage": "experimental",
|
||||
"full_access": true,
|
||||
"map": ["media:rw", "config:rw", "share:rw", "ssl"],
|
||||
"name": "Webtop Alpine",
|
||||
"privileged": ["SYS_ADMIN", "DAC_READ_SEARCH", "NET_ADMIN"],
|
||||
"ports": {
|
||||
"3000/tcp": 3000
|
||||
},
|
||||
"ports_description": {
|
||||
"3000/tcp": "web interface"
|
||||
},
|
||||
"slug": "firefox",
|
||||
"upstream": "78.15.0",
|
||||
"options": {
|
||||
"PUID": 0,
|
||||
"PGID": 0
|
||||
},
|
||||
"schema": {
|
||||
"PUID": "int",
|
||||
"PGID": "int",
|
||||
"TZ": "str",
|
||||
"localdisks": "str?",
|
||||
"networkdisks": "str?",
|
||||
"cifsusername": "str?",
|
||||
"cifspassword": "str?",
|
||||
"cifsdomain": "str?"
|
||||
},
|
||||
"slug": "webtop_alpine",
|
||||
"upstream": "1.0",
|
||||
"url": "https://github.com/alexbelgium/hassio-addons",
|
||||
"version": "78.15.0",
|
||||
"version": "1.0",
|
||||
"webui": "http://[HOST]:[PORT:3000]"
|
||||
}
|
||||
|
||||
BIN
webtop/icon.png
BIN
webtop/icon.png
Binary file not shown.
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 38 KiB |
BIN
webtop/logo.png
BIN
webtop/logo.png
Binary file not shown.
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 38 KiB |
Reference in New Issue
Block a user