Please support vanilla `ubuntu` by automatically installing `git` and `sudo` when they're missing
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13.8k
- Forks
- 1.4k
- Avg merge
- 17h 58m
- Merged PRs (30d)
- 5
Description
Is your feature request related to a problem? Please describe
If you use the following custom Dockerfile with gitpod:
FROM ubuntu
You're going to have a bad time, because it doesn't include git, and you cannot install it yourself without also having sudo. Thus, you won't be able to export any work from your workspace (no git in the Terminal, and the Git UI in VS Code won't work).
Describe the behaviour you'd like
We already automatically create a gitpod user with UID 33333 when there isn't one, and I believe we also automatically install a credential-helper for Git.
I believe we should also automatically install git and sudo, in order to support a basic development experience when you provide only a minimal Docker image:
FROM ubuntu
Describe alternatives you've considered
Additional context
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with a Dockerfile containing only FROM ubuntu, then inspect the existing workspace initialization that creates the gitpod user and installs the Git credential helper. The change is complete when a vanilla Ubuntu workspace has both git and sudo, allowing terminal Git use and the VS Code Git UI without extra image setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, dockerfile, git, ubuntu
- Domain
- developer-experience, devops, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100