openwrt / openwrt/docker

Add vim and sudo to the image

Open
#147 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
625
Forks
103
Avg merge
3d 22h
Merged PRs (30d)
1

Description

Hello!
While working with the image I often need to create temporary files, temporary feeds and here is no text editor by default. It will be perfect if you add vim to the default package list.

Also sudo with buildbot user in sudoers is a good option to add because I can't even install packages from the default user now (i can do something like docker exec -u 0 ecstatic_gould apt -y install vim but thats just a workaround, not a solution)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Docker image build configuration and the default package and user setup it uses. Add vim and sudo for the buildbot user, then build the image and verify that temporary files can be edited and packages can be installed without using the root workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, vim
Domain
devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.