diff --git a/doc/user/workspace/_index.md b/doc/user/workspace/_index.md index c5d20e6b79fb1fb989b4b4814038ce58c545c358..76c78deb9f1b219e67e78256cf1ec54d18511e21 100644 --- a/doc/user/workspace/_index.md +++ b/doc/user/workspace/_index.md @@ -126,7 +126,9 @@ Workspaces support both GitLab default devfile and custom devfiles. {{< history >}} -- [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/171230) in GitLab 17.8. +- [Introduced with Go](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/171230) in GitLab 17.8. +- [Added support for Node, Ruby, and Rust](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/185393) in GitLab 17.9. +- [Added support for Python, PHP, Java, and GCC](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/188199) in GitLab 18.0. {{< /history >}} @@ -140,9 +142,19 @@ components: attributes: gl/inject-editor: true container: - image: "registry.gitlab.com/gitlab-org/gitlab-build-images/workspaces/ubuntu-24.04:20250321073701-golang-1.23-node-23.9-yarn-1.22-ruby-3.4.2-rust-1.85-docker-27.5.1@sha256:a059826e65f0bc0ee2f3fdfd62f16a108c5b99b24b4656734cd6b8f4631389ad" + image: "registry.gitlab.com/gitlab-org/gitlab-build-images/workspaces/ubuntu-24.04:[VERSION_TAG]" ``` +{{< alert type="note" >}} + +This container `image` is updated regularly. `[VERSION_TAG]` is a placeholder only. For the latest version, see the +[default devfile](https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/lib/remote_development/settings/default_devfile.yaml) file. + +{{< /alert >}} + +The workspace default image includes development tools such as Ruby, Node.js, Rust, Go, Python, +Java, PHP, GCC, and their corresponding package managers. These tools are updated regularly. + A GitLab default devfile might not be suitable for all development environments configurations. In these cases, you can create a [custom devfile](#custom-devfile). diff --git a/ee/lib/remote_development/settings/default_devfile.yaml b/ee/lib/remote_development/settings/default_devfile.yaml index 7241d6850e12ec9247ba70f7210ca658b0cfad79..744beabb5376ed128a83f5e83ecdbdbea41d8f2a 100644 --- a/ee/lib/remote_development/settings/default_devfile.yaml +++ b/ee/lib/remote_development/settings/default_devfile.yaml @@ -4,4 +4,4 @@ components: attributes: gl/inject-editor: true container: - image: "registry.gitlab.com/gitlab-org/gitlab-build-images/workspaces/ubuntu-24.04:20250321073701-golang-1.23-node-23.9-yarn-1.22-ruby-3.4.2-rust-1.85-docker-27.5.1@sha256:a059826e65f0bc0ee2f3fdfd62f16a108c5b99b24b4656734cd6b8f4631389ad" + image: "registry.gitlab.com/gitlab-org/gitlab-build-images/workspaces/ubuntu-24.04:20250414234733-golang-1.23-node-23.9-yarn-1.22-ruby-3.4.2-rust-1.85-php-8.4.5-java-21.0.6-python-3.13-docker-27.5.1@sha256:3b3fb1374084a20349019b88302fcc8ace1a3de5ab09465668d09f95a0eaa34b" diff --git a/ee/spec/fixtures/remote_development/example.default_devfile.yaml.erb b/ee/spec/fixtures/remote_development/example.default_devfile.yaml.erb index 059e5f2df96b52304008ae0e78b7869d5f678b14..52765795d6161f8bd08b48fe8f2ef69c93afc037 100644 --- a/ee/spec/fixtures/remote_development/example.default_devfile.yaml.erb +++ b/ee/spec/fixtures/remote_development/example.default_devfile.yaml.erb @@ -4,4 +4,4 @@ components: attributes: gl/inject-editor: true container: - image: "registry.gitlab.com/gitlab-org/gitlab-build-images/workspaces/ubuntu-24.04:20250321073701-golang-1.23-node-23.9-yarn-1.22-ruby-3.4.2-rust-1.85-docker-27.5.1@sha256:a059826e65f0bc0ee2f3fdfd62f16a108c5b99b24b4656734cd6b8f4631389ad" + image: "registry.gitlab.com/gitlab-org/gitlab-build-images/workspaces/ubuntu-24.04:20250414234733-golang-1.23-node-23.9-yarn-1.22-ruby-3.4.2-rust-1.85-php-8.4.5-java-21.0.6-python-3.13-docker-27.5.1@sha256:3b3fb1374084a20349019b88302fcc8ace1a3de5ab09465668d09f95a0eaa34b"