denoland / denoland/deno_docker

Allow `deno install` when running as `deno` user

Open
#170 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dockerfile
Stars
1k
Forks
113
Avg merge
9m
Merged PRs (30d)
1

Description

Probably the `DENO_INSTALL_ROOT` will need to be changed to a folder where the non-root user has permission to write. The `deno` binary could be installed to `$DENO_INSTALL_ROOT/bin` instead and this folder added to `PATH`.

It could probably be `/opt/deno`: https://unix.stackexchange.com/a/20668/427940

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the repository's Dockerfiles and trace the deno user's environment, including DENO_INSTALL_ROOT and PATH. Verify the proposed image behavior by running deno install as the deno user; done means the binary installs into a writable location and is available through PATH.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.