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:
Audrius Butkevicius
2024-01-17 10:30:25 +02:00
committed by GitHub
parent ce451fdf77
commit dd6f99ea60
+1 -1
View File
@@ -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