Closed
Description
I'm trying to gitpodify an image from Docker Hub. I made some progress, but when my workspace started up the gitpod user wasn't able to run some of the commands packaged in the image. I suspect I need to add the gitpod user to a specific group that's defined in the image.
I tried this in my dockerfile:
USER root
RUN useradd gitpod
RUN usermod -a -G gitpod irisusr
During workspace startup those commands seemed to succeed, but at step 9/12 I got this failure:
Error while adding Gitpod layer.Step 9/12
Error: Error while adding Gitpod layer.
Without my useradd and usermod there was no problem at step 9 and everything started up. But the gitpod user didn't belong to the required group, so the app environment doesn't work.
Please advise.
Metadata
Metadata
Assignees
Labels
No labels