coder / coder/envbuilder

Dockerfile USER statement does not work with variables

Open
#90 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
300
Forks
64
Avg merge
20m
Merged PRs (30d)
1

Description

It is not possible to use variables within the docker USER statement. The variable will be interpreted as value.

Example: https://gitlab.com/nwrkbiz/cpp-design-patterns/-/tree/b81d6fdd2fcac393b491e8725387c99cf822b291/.devcontainer

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue using the linked cpp-design-patterns .devcontainer Dockerfile, focusing on its USER statement with variables. Trace how envbuilder processes that statement and verify that the variable is resolved as intended rather than treated as a literal value.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, dockerfile
Domain
devops
Issue type
Bug
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.