Update the workspace default image to use apt/mise to install all languages and package managers
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
MR: Pending
Description
Update the default image to follow the documented precedence for installing dependencies, as documented in https://gitlab.com/gitlab-org/gitlab-build-images/-/tree/master#workspace-image-dependency-installation-order-of-precedence:
Workspace image dependency installation order of precedence
In the workspaces images, a specific order of precedence should be used when installing dependencies, to prioritize the following goals:
- Prefer built packages rather than building from source
- Prefer package managers rather than direct downloads of installation packages or source/tarballs
The following order of precedence for dependencies should be used:
apt
: if we don’t care about the version of the dependency.mise
:
- if not available via apt, or
- if we care about the version, or
- if we want users of the image to be able to easily override the version via
.tool-versions
/mise.toml
.- Installation package from dependency's official download site: if
apt
ormise
cannot be used for some reason.- Source built from dependency's official repo or download site: if installation package doesn’t work for some reason.
Acceptance criteria
TODO: Fill out (required)
-
[Describe what must be achieved to complete this issue.] -
[If applicable, please provide design specifications for this feature/enhancement.] -
[If applicable, please list any technical requirements (performance, security, database, etc.)]
Implementation plan
TODO: Fill out or delete (optional)
[Provide a high-level plan for implementation of this issue, including relevant technical and/or design details.]
Edited by 🤖 GitLab Bot 🤖