Skip to content

feat: add universal image #307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

feat: add universal image #307

wants to merge 2 commits into from

Conversation

bpmct
Copy link
Member

@bpmct bpmct commented Aug 19, 2025

this is a universal image with many packages and dependencies pre-installed. cleaned up PR

@bpmct bpmct requested a review from matifali August 19, 2025 02:30
RUN yes | npx playwright install chrome

# Create `coder` user
RUN userdel -r codespace && \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think deluser leaves the user's home directory.

You should use userdel --remove-all-files --remove-home

I am not sure how this will behave with all installed tools from the base image though.

Or better rename the user and move over the existing home directory

RUN usermod -l coder codespace \
 && usermod -d /home/coder -m coder \
 && groupmod -n coder codespace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants