Allow running image as non-root user (#3019)
Currently /tmp/monaco ends up only writable by root, and readable by other users. Running the image with a non-root uid fails, as launcher fails to write out go.mod to the root owned directory.
This commit is contained in:
committed by
GitHub
parent
ce451fdf77
commit
dd6f99ea60
@@ -54,7 +54,7 @@ RUN pipenv install
|
||||
|
||||
COPY pyls_launcher.py .
|
||||
|
||||
RUN mkdir -p /tmp/monaco
|
||||
RUN mkdir -p /tmp/monaco && chmod -R 777 /tmp/monaco
|
||||
|
||||
RUN cd /tmp/monaco && yarn add -D windmill-client
|
||||
|
||||
|
||||
Reference in New Issue
Block a user