From a69ee64385409f8f3fa54374126affe82d41c7b7 Mon Sep 17 00:00:00 2001 From: accetto <34798830+accetto@users.noreply.github.com> Date: Thu, 14 Mar 2024 18:48:23 +0100 Subject: [PATCH] Release 24.03.1 --- CHANGELOG.md | 8 +++++++ docker/Dockerfile.xfce.nodejs | 2 +- docker/Dockerfile.xfce.nvm | 2 +- docker/Dockerfile.xfce.python | 2 +- docker/xfce-nodejs/README-dockerhub.md | 29 ++++++++++++++++++++++++++ docker/xfce-nvm/README-dockerhub.md | 29 ++++++++++++++++++++++++++ docker/xfce-python/README-dockerhub.md | 29 ++++++++++++++++++++++++++ docker/xfce-vscode/README-dockerhub.md | 29 ++++++++++++++++++++++++++ 8 files changed, 127 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ebb9871..6ef9bcd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ *** +### Release 24.03.1 + +This is a fix release, correcting an unfortunate copy-and-paste error in the files `Dockerfile.xfce.nodejs`, `Dockerfile.xfce.nvm` and `Dockerfile.xfce.python`. + +Other changes: + +- Readme files for Docker Hub have got a new section `Sharing Visual Studio Code profiles` + ### Release 24.03 This is the first `G3v5` release. diff --git a/docker/Dockerfile.xfce.nodejs b/docker/Dockerfile.xfce.nodejs index 54ff216..bc2ccd7 100644 --- a/docker/Dockerfile.xfce.nodejs +++ b/docker/Dockerfile.xfce.nodejs @@ -364,7 +364,7 @@ EXPOSE "${NODEJS_PORT}" ### stage_vscode ################ -FROM merge_stage_browser as stage_vscode +FROM stage_nodejs as stage_vscode ARG ARG_APT_NO_RECOMMENDS ARG ARG_VSCODE_DISTRO ARG ARG_VSCODE_VERSION diff --git a/docker/Dockerfile.xfce.nvm b/docker/Dockerfile.xfce.nvm index 60701e3..75a8654 100644 --- a/docker/Dockerfile.xfce.nvm +++ b/docker/Dockerfile.xfce.nvm @@ -346,7 +346,7 @@ USER 0 ### stage_vscode ################ -FROM merge_stage_browser as stage_vscode +FROM stage_nvm as stage_vscode ARG ARG_APT_NO_RECOMMENDS ARG ARG_VSCODE_DISTRO ARG ARG_VSCODE_VERSION diff --git a/docker/Dockerfile.xfce.python b/docker/Dockerfile.xfce.python index 84fda31..b6614be 100644 --- a/docker/Dockerfile.xfce.python +++ b/docker/Dockerfile.xfce.python @@ -339,7 +339,7 @@ COPY ./xfce-python/src/samples "${HOME}"/projects/samples ### stage_vscode ################ -FROM merge_stage_browser as stage_vscode +FROM stage_python as stage_vscode ARG ARG_APT_NO_RECOMMENDS ARG ARG_VSCODE_DISTRO ARG ARG_VSCODE_VERSION diff --git a/docker/xfce-nodejs/README-dockerhub.md b/docker/xfce-nodejs/README-dockerhub.md index c9ab7ff..0589f52 100644 --- a/docker/xfce-nodejs/README-dockerhub.md +++ b/docker/xfce-nodejs/README-dockerhub.md @@ -23,6 +23,32 @@ This [User guide][this-user-guide] describes the images and how to use them. The related [GitHub project][this-github] contains image generators that image users generally don’t need, unless they want to build the images themselves. +### Sharing Visual Studio Code profiles + +You can share *portable* `Visual Studio Code` profiles using *volumes* if you build your `compose` file similar to this: + +```yaml +volumes: + ### The volume should be prepared beforehand, otherwise + ### it would be removed with the service. + some-shared-vscode-profile-volume: + external: true + +services: + some-vscode-service: + .... + volumes: + - type: volume + source: some-shared-vscode-profile-volume: + target: /home/headless/.vscode-portable/code/data/user-data/User + - type: volume + source: some-shared-vscode-profile-volume: + target: /home/headless/.vscode-portable/code/data/extensions +``` + +Be aware, that if you don't prepare the volume beforehand, it will be removed with the service. +Read more about [Docker volumes][doc-docker-volumes] and [Compose volumes][doc-compose-volumes] in the official documentation. + ### Tags The following image tags are regularly built and published on Docker Hub: @@ -144,6 +170,9 @@ If you have a question or an idea and you don't want to open an issue, you can a [docker-debian]: https://hub.docker.com/_/debian/ +[doc-docker-volumes]: https://docs.docker.com/storage/volumes/ +[doc-compose-volumes]: https://docs.docker.com/compose/compose-file/07-volumes/ + [angular]: https://angular.io/ [chromium]: https://www.chromium.org/Home [curl]: http://manpages.ubuntu.com/manpages/bionic/man1/curl.1.html diff --git a/docker/xfce-nvm/README-dockerhub.md b/docker/xfce-nvm/README-dockerhub.md index b232cf5..c2edb61 100644 --- a/docker/xfce-nvm/README-dockerhub.md +++ b/docker/xfce-nvm/README-dockerhub.md @@ -27,6 +27,32 @@ This [User guide][this-user-guide] describes the images and how to use them. The related [GitHub project][this-github] contains image generators that image users generally don’t need, unless they want to build the images themselves. +### Sharing Visual Studio Code profiles + +You can share *portable* `Visual Studio Code` profiles using *volumes* if you build your `compose` file similar to this: + +```yaml +volumes: + ### The volume should be prepared beforehand, otherwise + ### it would be removed with the service. + some-shared-vscode-profile-volume: + external: true + +services: + some-vscode-service: + .... + volumes: + - type: volume + source: some-shared-vscode-profile-volume: + target: /home/headless/.vscode-portable/code/data/user-data/User + - type: volume + source: some-shared-vscode-profile-volume: + target: /home/headless/.vscode-portable/code/data/extensions +``` + +Be aware, that if you don't prepare the volume beforehand, it will be removed with the service. +Read more about [Docker volumes][doc-docker-volumes] and [Compose volumes][doc-compose-volumes] in the official documentation. + ### Tags The following image tags are regularly built and published on Docker Hub: @@ -143,6 +169,9 @@ If you have a question or an idea and you don't want to open an issue, you can a [docker-debian]: https://hub.docker.com/_/debian/ +[doc-docker-volumes]: https://docs.docker.com/storage/volumes/ +[doc-compose-volumes]: https://docs.docker.com/compose/compose-file/07-volumes/ + [angular]: https://angular.io/ [chromium]: https://www.chromium.org/Home [curl]: http://manpages.ubuntu.com/manpages/bionic/man1/curl.1.html diff --git a/docker/xfce-python/README-dockerhub.md b/docker/xfce-python/README-dockerhub.md index 7827279..91c1970 100644 --- a/docker/xfce-python/README-dockerhub.md +++ b/docker/xfce-python/README-dockerhub.md @@ -23,6 +23,32 @@ This [User guide][this-user-guide] describes the images and how to use them. The related [GitHub project][this-github] contains image generators that image users generally don’t need, unless they want to build the images themselves. +### Sharing Visual Studio Code profiles + +You can share *portable* `Visual Studio Code` profiles using *volumes* if you build your `compose` file similar to this: + +```yaml +volumes: + ### The volume should be prepared beforehand, otherwise + ### it would be removed with the service. + some-shared-vscode-profile-volume: + external: true + +services: + some-vscode-service: + .... + volumes: + - type: volume + source: some-shared-vscode-profile-volume: + target: /home/headless/.vscode-portable/code/data/user-data/User + - type: volume + source: some-shared-vscode-profile-volume: + target: /home/headless/.vscode-portable/code/data/extensions +``` + +Be aware, that if you don't prepare the volume beforehand, it will be removed with the service. +Read more about [Docker volumes][doc-docker-volumes] and [Compose volumes][doc-compose-volumes] in the official documentation. + ### Tags The following image tags are regularly built and published on Docker Hub: @@ -140,6 +166,9 @@ If you have a question or an idea and you don't want to open an issue, you can a [docker-debian]: https://hub.docker.com/_/debian/ +[doc-docker-volumes]: https://docs.docker.com/storage/volumes/ +[doc-compose-volumes]: https://docs.docker.com/compose/compose-file/07-volumes/ + [chromium]: https://www.chromium.org/Home [curl]: http://manpages.ubuntu.com/manpages/bionic/man1/curl.1.html [firefox]: https://www.mozilla.org diff --git a/docker/xfce-vscode/README-dockerhub.md b/docker/xfce-vscode/README-dockerhub.md index a8bff35..f07d303 100644 --- a/docker/xfce-vscode/README-dockerhub.md +++ b/docker/xfce-vscode/README-dockerhub.md @@ -20,6 +20,32 @@ This [User guide][this-user-guide] describes the images and how to use them. The related [GitHub project][this-github] contains image generators that image users generally don’t need, unless they want to build the images themselves. +### Sharing Visual Studio Code profiles + +You can share *portable* `Visual Studio Code` profiles using *volumes* if you build your `compose` file similar to this: + +```yaml +volumes: + ### The volume should be prepared beforehand, otherwise + ### it would be removed with the service. + some-shared-vscode-profile-volume: + external: true + +services: + some-vscode-service: + .... + volumes: + - type: volume + source: some-shared-vscode-profile-volume: + target: /home/headless/.vscode-portable/code/data/user-data/User + - type: volume + source: some-shared-vscode-profile-volume: + target: /home/headless/.vscode-portable/code/data/extensions +``` + +Be aware, that if you don't prepare the volume beforehand, it will be removed with the service. +Read more about [Docker volumes][doc-docker-volumes] and [Compose volumes][doc-compose-volumes] in the official documentation. + ### Tags The following image tags are regularly built and published on Docker Hub: @@ -120,6 +146,9 @@ If you have a question or an idea and you don't want to open an issue, you can a [docker-debian]: https://hub.docker.com/_/debian/ +[doc-docker-volumes]: https://docs.docker.com/storage/volumes/ +[doc-compose-volumes]: https://docs.docker.com/compose/compose-file/07-volumes/ + [chromium]: https://www.chromium.org/Home [curl]: http://manpages.ubuntu.com/manpages/bionic/man1/curl.1.html [firefox]: https://www.mozilla.org