Skip to content

Commit 816a2fd

Browse files
committed
add PWA icon , update readme
1 parent 281259e commit 816a2fd

File tree

4 files changed

+44
-2
lines changed

4 files changed

+44
-2
lines changed

Dockerfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,17 @@ LABEL maintainer="aptalca"
1111
ENV TITLE=SQLiteBrowser
1212

1313
RUN \
14+
echo "**** add icon ****" && \
15+
curl -o \
16+
/kclient/public/icon.png \
17+
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/sqlitebrowser-icon.png && \
1418
echo "**** install packages ****" && \
1519
if [ -z ${SQLITEB_VERSION+x} ]; then \
1620
SQLITEB_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
1721
&& awk '/^P:sqlitebrowser$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
1822
fi && \
1923
apk add --no-cache \
2024
sqlitebrowser==${SQLITEB_VERSION} && \
21-
sed -i 's|</applications>| <application title="DB Browser for SQLite" type="normal">\n <maximized>yes</maximized>\n </application>\n</applications>|' /etc/xdg/openbox/rc.xml && \
2225
echo "**** cleanup ****" && \
2326
rm -rf \
2427
/tmp/*

Dockerfile.aarch64

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,17 @@ LABEL maintainer="aptalca"
1111
ENV TITLE=SQLiteBrowser
1212

1313
RUN \
14+
echo "**** add icon ****" && \
15+
curl -o \
16+
/kclient/public/icon.png \
17+
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/sqlitebrowser-icon.png && \
1418
echo "**** install packages ****" && \
1519
if [ -z ${SQLITEB_VERSION+x} ]; then \
1620
SQLITEB_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
1721
&& awk '/^P:sqlitebrowser$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
1822
fi && \
1923
apk add --no-cache \
2024
sqlitebrowser==${SQLITEB_VERSION} && \
21-
sed -i 's|</applications>| <application title="DB Browser for SQLite" type="normal">\n <maximized>yes</maximized>\n </application>\n</applications>|' /etc/xdg/openbox/rc.xml && \
2225
echo "**** cleanup ****" && \
2326
rm -rf \
2427
/tmp/*

README.md

+18
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ This container is based on [Docker Baseimage KasmVNC](https://github.com/linuxse
8181
| FM_HOME | This is the home directory (landing) for the file manager, default "/config". |
8282
| START_DOCKER | If set to false a container with privilege will not automatically start the DinD Docker setup. |
8383
| DRINODE | If mounting in /dev/dri for [DRI3 GPU Acceleration](https://www.kasmweb.com/kasmvnc/docs/master/gpu_acceleration.html) allows you to specify the device to use IE `/dev/dri/renderD128` |
84+
| LC_ALL | Set the Language for the container to run as IE `fr_FR.UTF-8` `ar_AE.UTF-8` |
85+
| NO_DECOR | If set the application will run without window borders for use as a PWA. |
86+
| NO_FULL | Do not autmatically fullscreen applications when using openbox. |
8487

8588
#### Optional run configurations
8689

@@ -90,6 +93,20 @@ This container is based on [Docker Baseimage KasmVNC](https://github.com/linuxse
9093
| `-v /var/run/docker.sock:/var/run/docker.sock` | Mount in the host level Docker socket to either interact with it via CLI or use Docker enabled applications. |
9194
| `--device /dev/dri:/dev/dri` | Mount a GPU into the container, this can be used in conjunction with the `DRINODE` environment variable to leverage a host video card for GPU accelerated appplications. Only **Open Source** drivers are supported IE (Intel,AMDGPU,Radeon,ATI,Nouveau) |
9295

96+
### Language Support - Internationalization
97+
98+
The environment variable `LC_ALL` can be used to start this image in a different language than English simply pass for example to launch the Desktop session in French `LC_ALL=fr_FR.UTF-8`. Some languages like Chinese, Japanese, or Korean will be missing fonts needed to render properly known as cjk fonts, but others may exist and not be installed. We only ensure fonts for Latin characters are present. Fonts can be installed with a mod on startup.
99+
100+
To install cjk fonts on startup as an example pass the environment variables:
101+
102+
```
103+
-e DOCKER_MODS=linuxserver/mods:universal-package-install
104+
-e INSTALL_PACKAGES=font-noto-cjk
105+
-e LC_ALL=zh_CN.UTF-8
106+
```
107+
108+
The web interface has the option for "IME Input Mode" in Settings which will allow non english characters to be used from a non en_US keyboard on the client. Once enabled it will perform the same as a local Linux installation set to your locale.
109+
93110
### Lossless mode
94111

95112
This container is capable of delivering a true lossless image at a high framerate to your web browser by changing the Stream Quality preset to "Lossless", more information [here](https://www.kasmweb.com/docs/latest/how_to/lossless.html#technical-background). In order to use this mode from a non localhost endpoint the HTTPS port on 3001 needs to be used. If using a reverse proxy to port 3000 specific headers will need to be set as outlined [here](https://github.com/linuxserver/docker-baseimage-kasmvnc#lossless).
@@ -311,6 +328,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
311328

312329
## Versions
313330

331+
* **10.02.24:** - Update Readme with new env vars and ingest proper PWA icon.
314332
* **02.01.24:** - Rebase to Alpine 3.19.
315333
* **13.05.23:** - Rebase to Alpine 3.18.
316334
* **18.03.23:** - Rebase to KasmVNC base image.

readme-vars.yml

+18
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ app_setup_block: |
5858
| FM_HOME | This is the home directory (landing) for the file manager, default "/config". |
5959
| START_DOCKER | If set to false a container with privilege will not automatically start the DinD Docker setup. |
6060
| DRINODE | If mounting in /dev/dri for [DRI3 GPU Acceleration](https://www.kasmweb.com/kasmvnc/docs/master/gpu_acceleration.html) allows you to specify the device to use IE `/dev/dri/renderD128` |
61+
| LC_ALL | Set the Language for the container to run as IE `fr_FR.UTF-8` `ar_AE.UTF-8` |
62+
| NO_DECOR | If set the application will run without window borders for use as a PWA. |
63+
| NO_FULL | Do not autmatically fullscreen applications when using openbox. |
6164
6265
#### Optional run configurations
6366
@@ -67,12 +70,27 @@ app_setup_block: |
6770
| `-v /var/run/docker.sock:/var/run/docker.sock` | Mount in the host level Docker socket to either interact with it via CLI or use Docker enabled applications. |
6871
| `--device /dev/dri:/dev/dri` | Mount a GPU into the container, this can be used in conjunction with the `DRINODE` environment variable to leverage a host video card for GPU accelerated appplications. Only **Open Source** drivers are supported IE (Intel,AMDGPU,Radeon,ATI,Nouveau) |
6972
73+
### Language Support - Internationalization
74+
75+
The environment variable `LC_ALL` can be used to start this image in a different language than English simply pass for example to launch the Desktop session in French `LC_ALL=fr_FR.UTF-8`. Some languages like Chinese, Japanese, or Korean will be missing fonts needed to render properly known as cjk fonts, but others may exist and not be installed. We only ensure fonts for Latin characters are present. Fonts can be installed with a mod on startup.
76+
77+
To install cjk fonts on startup as an example pass the environment variables:
78+
79+
```
80+
-e DOCKER_MODS=linuxserver/mods:universal-package-install
81+
-e INSTALL_PACKAGES=font-noto-cjk
82+
-e LC_ALL=zh_CN.UTF-8
83+
```
84+
85+
The web interface has the option for "IME Input Mode" in Settings which will allow non english characters to be used from a non en_US keyboard on the client. Once enabled it will perform the same as a local Linux installation set to your locale.
86+
7087
### Lossless mode
7188
7289
This container is capable of delivering a true lossless image at a high framerate to your web browser by changing the Stream Quality preset to "Lossless", more information [here](https://www.kasmweb.com/docs/latest/how_to/lossless.html#technical-background). In order to use this mode from a non localhost endpoint the HTTPS port on 3001 needs to be used. If using a reverse proxy to port 3000 specific headers will need to be set as outlined [here](https://github.com/linuxserver/docker-baseimage-kasmvnc#lossless).
7390
7491
# changelog
7592
changelogs:
93+
- { date: "10.02.24:", desc: "Update Readme with new env vars and ingest proper PWA icon." }
7694
- { date: "02.01.24:", desc: "Rebase to Alpine 3.19." }
7795
- { date: "13.05.23:", desc: "Rebase to Alpine 3.18." }
7896
- { date: "18.03.23:", desc: "Rebase to KasmVNC base image." }

0 commit comments

Comments
 (0)