coala / coala/docker-coala-base

Fix coala's cache when `--user` is defined

Open
#82 2 comments 0 reactions 0 assignees View on GitHub
status/STALE
Dominant language
Shell
Stars
21
Forks
28
PR merge metrics
No merged PRs in 30d

Description

Docker has this weird way of using `root` as the default user resulting in files which the user can't write to. The only way to fix this is to declare `--user=` but this'll cause a problem because there's no home folder so it defaults to `/`. The workaround for this is to pre-made `/.local/share/coala` and set the permission to `777` (RWX for everyone)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting the Docker image setup and how coala's cache path is configured for a numeric --user. Check the image behavior with and without --user=; done means the cache is writable without relying on a user's home directory or leaving the container unable to start.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.