Merge pull request #657 from alexbelgium/656-request-guacamole-custom-fonts-directory-solution-in-issue

656 request guacamole custom fonts directory solution in issue
This commit is contained in:
Alexandre
2023-01-22 08:15:05 +01:00
committed by GitHub
5 changed files with 11 additions and 3 deletions

View File

@@ -1,3 +1,5 @@
- Switch upstream image to abesnier/guacamole
- Allow custom fonts (thanks @fischer-felix)
- WARNING : update to supervisor 2022.11 before installing - WARNING : update to supervisor 2022.11 before installing
## 1.4.2 (14-05-2022) ## 1.4.2 (14-05-2022)

View File

@@ -49,7 +49,9 @@ RUN \
# Allow syslog # Allow syslog
&& mkdir -p /tmp \ && mkdir -p /tmp \
&& python3 -c "import socket as s; sock = s.socket(s.AF_UNIX); sock.bind('/tmp/syslog')" \ && python3 -c "import socket as s; sock = s.socket(s.AF_UNIX); sock.bind('/tmp/syslog')" \
&& sed -i "s|s6-socklog -d3 -U -t3000|s6-socklog -d3 -U -t3000 -x /tmp/syslog|g" /etc/s6-overlay/s6-rc.d/syslogd/run && sed -i "s|s6-socklog -d3 -U -t3000|s6-socklog -d3 -U -t3000 -x /tmp/syslog|g" /etc/s6-overlay/s6-rc.d/syslogd/run \
# Allow custom fonts
&& sed -i '\|<dir>/usr/share/fonts</dir>|a\ \ \ \ \ \ \ \ <dir>/config/addons_config/guacamole/fonts</dir>' /etc/fonts/fonts.conf
################## ##################
# 3 Install apps # # 3 Install apps #

View File

@@ -21,7 +21,7 @@ _Thanks to everyone having starred my repo! To star it click on the image below,
[Apache Guacamole](https://guacamole.apache.org/) is a clientless remote desktop gateway. It supports standard protocols like VNC, RDP, and SSH. This container is only the backend server component needed to use The official or 3rd party HTML5 frontends. [Apache Guacamole](https://guacamole.apache.org/) is a clientless remote desktop gateway. It supports standard protocols like VNC, RDP, and SSH. This container is only the backend server component needed to use The official or 3rd party HTML5 frontends.
This addon is based on the docker image https://github.com/maxwaldorf/guacamole This addon is based on the docker image here : https://github.com/abesnier/docker-guacamole
## Configuration ## Configuration

View File

@@ -26,6 +26,6 @@
}, },
"slug": "guacamole", "slug": "guacamole",
"url": "https://github.com/alexbelgium/hassio-addons", "url": "https://github.com/alexbelgium/hassio-addons",
"version": "1.4.2-7_test10", "version": "1.4.2-7_11",
"video": true "video": true
} }

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
mkdir -p /config/addons_config/guacamole/fonts