Skip to content

Commit

Permalink
Release 20.02.1
Browse files Browse the repository at this point in the history
  • Loading branch information
accetto committed Feb 15, 2020
1 parent f108662 commit 4729eab
Show file tree
Hide file tree
Showing 16 changed files with 75 additions and 13 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@

***

### Release 20.02.1

- **xubuntu-vnc-novnc**
- **gdebi** utility for installing local `.deb` packages added
- auto-starting again:
- AT-SPI D-Bus Bus
- all other images inherit the above changes
- Updated version:
- Chromium Browser **80.0.3987.87**
- Firefox **73.0**
- **README** updated (better explanation of default passwords)
- container screenshots updated

### Release 20.02

- Updated versions:
Expand Down
9 changes: 8 additions & 1 deletion docker/xubuntu-vnc-novnc-chromium/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,20 @@

***

**WARNING** for Windows users

**Docker Desktop** (Docker for Windows) version **2.2.0.0** has introduced a new way of working with host's files. Unfortunately even the current version **2.2.0.3** leaves several issues with **bind mounts** unresolved. For example, I've found that **Firefox profiles** stored in bound host's folders don't persist modifications correctly. Firefox profiles stored in containers itself (writable layer) or on Docker managed volumes work correctly. If you need to use bind mounts, I wouldn't recommend upgrading to version 2.2 yet, because downgrading is not possible. The only way is to completely re-install the last working version **2.1.0.5**. However, you'll loose all the images and containers, so backup them first.

***

This repository contains resources for building Docker images based on [Ubuntu][docker-ubuntu] with [Xfce][xfce] desktop environment, [VNC][tigervnc]/[noVNC][novnc] servers for headless use and the current [Chromium][chromium] web browser.

The images are part of the growing [image hierarchy][this-wiki-image-hierarchy] and they are based on [accetto/xubuntu-vnc-novnc][accetto-docker-xubuntu-vnc-novnc]. They inherit all the features and therefore not the whole description will be repeated here.

The `latest` image inherits among others

- utilities **ping**, **wget**, **zip**, **unzip**, **sudo**, [curl][curl], [git][git] (Ubuntu distribution)
- utility **gdebi** lets you install local `.deb` packages resolving and installing their dependencies (Ubuntu distribution)
- current version of JSON processor [jq][jq]
- popular text editor [vim][vim] (Ubuntu distribution)
- lite but advanced graphical editor [mousepad][mousepad] (Ubuntu distribution)
Expand Down Expand Up @@ -158,6 +165,6 @@ Credit goes to all the countless people and companies, who contribute to open so

<!-- latest tag badges -->

[badge-VERSION_STICKER_LATEST]: https://badgen.net/badge/version%20sticker/ubuntu18.04.3-chromium79.0.3945.130/blue
[badge-VERSION_STICKER_LATEST]: https://badgen.net/badge/version%20sticker/ubuntu18.04.3-chromium80.0.3987.87/blue

[badge-github-commit-latest]: https://images.microbadger.com/badges/commit/accetto/xubuntu-vnc-novnc-chromium.svg
2 changes: 1 addition & 1 deletion docker/xubuntu-vnc-novnc-chromium/hooks/env
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ BASETAG=""
TODAY=$(date +%Y-%m-%d)

### Warning! The values must be explicit strings (used by utils).
VERSION_STICKER_LATEST="ubuntu18.04.3-chromium79.0.3945.130"
VERSION_STICKER_LATEST="ubuntu18.04.3-chromium80.0.3987.87"

VERSION_STICKER="${VERSION_STICKER_LATEST}"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ case "$1" in
novnc=$("${STARTUPDIR}/version_of.sh" novnc)
websockify=$("${STARTUPDIR}/version_of.sh" websockify)
curl=$("${STARTUPDIR}/version_of.sh" curl)
gdebi=$("${STARTUPDIR}/version_of.sh" gdebi)
git=$("${STARTUPDIR}/version_of.sh" git)
jq=$("${STARTUPDIR}/version_of.sh" jq)
echo "Ubuntu $ubuntu"
Expand All @@ -29,6 +30,7 @@ case "$1" in
echo "Ristretto $ristretto"
echo "xfce4-screenshooter $screenshooter"
echo "curl $curl"
echo "gdebi $gdebi"
echo "Git $git"
echo "jq $jq"
echo "Chromium $chromium"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 10 additions & 3 deletions docker/xubuntu-vnc-novnc-firefox/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@

***

**WARNING** for Windows users

**Docker Desktop** (Docker for Windows) version **2.2.0.0** has introduced a new way of working with host's files. Unfortunately even the current version **2.2.0.3** leaves several issues with **bind mounts** unresolved. For example, I've found that **Firefox profiles** stored in bound host's folders don't persist modifications correctly. Firefox profiles stored in containers itself (writable layer) or on Docker managed volumes work correctly. If you need to use bind mounts, I wouldn't recommend upgrading to version 2.2 yet, because downgrading is not possible. The only way is to completely re-install the last working version **2.1.0.5**. However, you'll loose all the images and containers, so backup them first.

***

This repository contains resources for building Docker images based on [Ubuntu][docker-ubuntu] with [Xfce][xfce] desktop environment, [VNC][tigervnc]/[noVNC][novnc] servers for headless use and the current [Firefox Quantum][firefox] web browser.

The main image is a streamlined and simplified version of my other image [accetto/ubuntu-vnc-xfce-firefox-plus][accetto-docker-ubuntu-vnc-xfce-firefox-plus]. The applicable **plus** features have been re-implemented because **Firefox v67** handles user profiles differently.
Expand All @@ -24,6 +30,7 @@ The images are part of the growing [image hierarchy][this-wiki-image-hierarchy]
The `latest` image inherits among others

- utilities **ping**, **wget**, **zip**, **unzip**, **sudo**, [curl][curl], [git][git] (Ubuntu distribution)
- utility **gdebi** lets you install local `.deb` packages resolving and installing their dependencies (Ubuntu distribution)
- current version of JSON processor [jq][jq]
- popular text editor [vim][vim] (Ubuntu distribution)
- lite but advanced graphical editor [mousepad][mousepad] (Ubuntu distribution)
Expand Down Expand Up @@ -243,18 +250,18 @@ Credit goes to all the countless people and companies, who contribute to open so

<!-- latest tag badges -->

[badge-VERSION_STICKER_LATEST]: https://badgen.net/badge/version%20sticker/ubuntu18.04.3-firefox72.0.2/blue
[badge-VERSION_STICKER_LATEST]: https://badgen.net/badge/version%20sticker/ubuntu18.04.3-firefox73.0/blue

[badge-github-commit-latest]: https://images.microbadger.com/badges/commit/accetto/xubuntu-vnc-novnc-firefox.svg

<!-- default tag badges -->

[badge-VERSION_STICKER_DEFAULT]: https://badgen.net/badge/version%20sticker/ubuntu18.04.3-firefox72.0.2/blue
[badge-VERSION_STICKER_DEFAULT]: https://badgen.net/badge/version%20sticker/ubuntu18.04.3-firefox73.0/blue

[badge-github-commit-default]: https://images.microbadger.com/badges/commit/accetto/xubuntu-vnc-novnc-firefox:default.svg

<!-- multiprocess tag badges -->

[badge-VERSION_STICKER_MULTIPROCESS]: https://badgen.net/badge/version%20sticker/ubuntu18.04.3-firefox72.0.2/blue
[badge-VERSION_STICKER_MULTIPROCESS]: https://badgen.net/badge/version%20sticker/ubuntu18.04.3-firefox73.0/blue

[badge-github-commit-multiprocess]: https://images.microbadger.com/badges/commit/accetto/xubuntu-vnc-novnc-firefox:multiprocess.svg
6 changes: 3 additions & 3 deletions docker/xubuntu-vnc-novnc-firefox/hooks/env
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ TODAY=$(date +%Y-%m-%d)
VERSION_STICKER=""

### Warning! The values must be explicit strings (used by utils).
VERSION_STICKER_LATEST="ubuntu18.04.3-firefox72.0.2"
VERSION_STICKER_DEFAULT="ubuntu18.04.3-firefox72.0.2"
VERSION_STICKER_MULTIPROCESS="ubuntu18.04.3-firefox72.0.2"
VERSION_STICKER_LATEST="ubuntu18.04.3-firefox73.0"
VERSION_STICKER_DEFAULT="ubuntu18.04.3-firefox73.0"
VERSION_STICKER_MULTIPROCESS="ubuntu18.04.3-firefox73.0"

case "${DOCKER_TAG}" in

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ case "$1" in
novnc=$("${STARTUPDIR}/version_of.sh" novnc)
websockify=$("${STARTUPDIR}/version_of.sh" websockify)
curl=$("${STARTUPDIR}/version_of.sh" curl)
gdebi=$("${STARTUPDIR}/version_of.sh" gdebi)
git=$("${STARTUPDIR}/version_of.sh" git)
jq=$("${STARTUPDIR}/version_of.sh" jq)
echo "Ubuntu $ubuntu"
Expand All @@ -29,6 +30,7 @@ case "$1" in
echo "Ristretto $ristretto"
echo "xfce4-screenshooter $screenshooter"
echo "curl $curl"
echo "gdebi $gdebi"
echo "Git $git"
echo "jq $jq"
echo "Firefox $firefox"
Expand Down
Binary file modified docker/xubuntu-vnc-novnc-firefox/xubuntu-vnc-novnc-firefox.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docker/xubuntu-vnc-novnc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ RUN apt-get update && apt-get install -y \
vim \
zip \
curl \
gdebi-core \
git \
wget \
&& apt-get -y autoremove \
Expand Down
21 changes: 18 additions & 3 deletions docker/xubuntu-vnc-novnc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,20 @@

***

**WARNING** for Windows users

**Docker Desktop** (Docker for Windows) version **2.2.0.0** has introduced a new way of working with host's files. Unfortunately even the current version **2.2.0.3** leaves several issues with **bind mounts** unresolved. For example, I've found that **Firefox profiles** stored in bound host's folders don't persist modifications correctly. Firefox profiles stored in containers itself (writable layer) or on Docker managed volumes work correctly. If you need to use bind mounts, I wouldn't recommend upgrading to version 2.2 yet, because downgrading is not possible. The only way is to completely re-install the last working version **2.1.0.5**. However, you'll loose all the images and containers, so backup them first.

***

This repository contains resources for building Docker images based on [Ubuntu][docker-ubuntu] with [Xfce][xfce] desktop environment and [VNC][tigervnc]/[noVNC][novnc] servers for headless use.

The main image is a streamlined and simplified version of my other image [accetto/ubuntu-vnc-xfce][accetto-docker-ubuntu-vnc-xfce] and it is part of the growing [image hierarchy][this-wiki-image-hierarchy].

The main features and components of the images are:

- utilities **ping**, **wget**, **zip**, **unzip**, **sudo**, [curl][curl], [git][git] (Ubuntu distribution)
- utility **gdebi** lets you install local `.deb` packages resolving and installing their dependencies (Ubuntu distribution)
- current version of JSON processor [jq][jq]
- light-weight [Xfce][xfce] desktop environment (Ubuntu distribution)
- current version of high-performance [TigerVNC][tigervnc] server and client
Expand Down Expand Up @@ -108,7 +115,13 @@ Examples can be found in [Wiki][this-wiki].

## Using headless containers

There are two ways, how to use the created headless containers. Note that the default **VNC user** password is **headless**.
There are two ways, how to use the created headless containers.

The default **VNC user** password is **headless** and it can be changed through the environment variable **VNC_PW**. For example the following container would use a password value **mynewpwd**:

```shell
docker run -dP -e VNC_PW=mynewpwd accetto/xubuntu-vnc-novnc
```

### Over VNC

Expand Down Expand Up @@ -140,13 +153,15 @@ It's also possible to provide the password through the links:
## Container user accounts
Containers created from this image run under the **default application user** (headless, 1001:0). The password is set from the environment variable **VNC_PW** (**headless** by default) and it can be changed by the user inside the container using the following command:
Containers created from this image run under the **default application user** (headless, 1001:0) with the default password set also to **headless**. This password can be changed inside the container using the following command:
```shell
passwd
```
The **sudo** command allows user elevation, so the default application user can, for example, install new applications.
Please to not confuse the **default application user** password with the **VNC user** password, because they both have the same default values. However, the former one is used for **sudo** and it can be changed using `passwd` command. The latter one is used for VNC access and it can be changed through the **VNC_PW** environment variable (see above).
The **sudo** command allows user elevation, so the **default application user** can, for example, install new applications.
The following example shows how to install **git**:
Expand Down
10 changes: 10 additions & 0 deletions docker/xubuntu-vnc-novnc/src/home/Desktop/versionsticker.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=Version Sticker
Comment=Verbose version sticker
Exec=bash -c 'echo "Wait..." && /dockerstartup/version_sticker.sh -V && read -p "Press ENTER..."'
Icon=easytag
Path=/dockerstartup
Terminal=true
StartupNotify=false
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
[Desktop Entry]
Hidden=true

Hidden=false
4 changes: 4 additions & 0 deletions docker/xubuntu-vnc-novnc/src/startup/version_of.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ case "$1" in
### source example: Mozilla Firefox 68.0.2
echo $(firefox -v 2>/dev/null | grep -Po '[0-9.]+$')
;;
gdebi)
### source example: 0.9.5.7+nmu2
echo $(gdebi --version 2>/dev/null | grep -Po '^[0-9.]+')
;;
git)
### source example: git version 2.17.1
echo $(git --version 2>/dev/null | grep -Po '[0-9.]+$')
Expand Down
2 changes: 2 additions & 0 deletions docker/xubuntu-vnc-novnc/src/startup/version_sticker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ case "$1" in
novnc=$("${STARTUPDIR}/version_of.sh" novnc)
websockify=$("${STARTUPDIR}/version_of.sh" websockify)
curl=$("${STARTUPDIR}/version_of.sh" curl)
gdebi=$("${STARTUPDIR}/version_of.sh" gdebi)
git=$("${STARTUPDIR}/version_of.sh" git)
jq=$("${STARTUPDIR}/version_of.sh" jq)
echo "Ubuntu $ubuntu"
Expand All @@ -27,6 +28,7 @@ case "$1" in
echo "Ristretto $ristretto"
echo "xfce4-screenshooter $screenshooter"
echo "curl $curl"
echo "gdebi $gdebi"
echo "Git $git"
echo "jq $jq"
;;
Expand Down
Binary file modified docker/xubuntu-vnc-novnc/xubuntu-vnc-novnc.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4729eab

Please sign in to comment.