From 3dec07c6829c8fc2f7a474bd200257bd42f28560 Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Wed, 26 Jun 2024 11:19:59 +0200 Subject: [PATCH] Fix userid to 101 for theia user --- images/c/ToolDockerfile | 2 +- images/haskell/ToolDockerfile | 2 +- images/java-17/ToolDockerfile | 2 +- images/ocaml/ToolDockerfile | 2 +- images/python/ToolDockerfile | 2 +- images/swift/ToolDockerfile | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/images/c/ToolDockerfile b/images/c/ToolDockerfile index 7839c8b9a..333d01241 100644 --- a/images/c/ToolDockerfile +++ b/images/c/ToolDockerfile @@ -47,7 +47,7 @@ COPY --from=plugin-image /home/theia/plugins /home/theia/plugins # Create theia user and directories # Application will be copied to /home/theia # Default workspace is located at /home/project -RUN adduser --system --group theia +RUN adduser --system --group theia --uid 101 RUN chmod g+rw /home && \ mkdir -p /home/project && \ chown -R theia:theia /home/theia && \ diff --git a/images/haskell/ToolDockerfile b/images/haskell/ToolDockerfile index 4ad69984c..7f9dd87d9 100644 --- a/images/haskell/ToolDockerfile +++ b/images/haskell/ToolDockerfile @@ -38,7 +38,7 @@ COPY --from=plugin-image /home/theia/plugins /home/theia/plugins # Create theia user and directories # Application will be copied to /home/theia # Default workspace is located at /home/project -RUN adduser --system --group theia +RUN adduser --system --group theia --uid 101 RUN chmod g+rw /home && \ mkdir -p /home/project && \ chown -R theia:theia /home/theia && \ diff --git a/images/java-17/ToolDockerfile b/images/java-17/ToolDockerfile index af52b04e9..098fc21dc 100644 --- a/images/java-17/ToolDockerfile +++ b/images/java-17/ToolDockerfile @@ -37,7 +37,7 @@ COPY --from=plugin-image /home/theia/plugins /home/theia/plugins # Create theia user and directories # Application will be copied to /home/theia # Default workspace is located at /home/project -RUN adduser --system --group theia +RUN adduser --system --group theia --uid 101 RUN chmod g+rw /home && \ mkdir -p /home/project && \ chown -R theia:theia /home/theia && \ diff --git a/images/ocaml/ToolDockerfile b/images/ocaml/ToolDockerfile index e04ea1ffd..55c97ba9c 100644 --- a/images/ocaml/ToolDockerfile +++ b/images/ocaml/ToolDockerfile @@ -45,7 +45,7 @@ COPY --from=plugin-image /home/theia/plugins /home/theia/plugins # Create theia user and directories # Application will be copied to /home/theia # Default workspace is located at /home/project -RUN adduser --system --group theia +RUN adduser --system --group theia --uid 101 RUN chmod g+rw /home && \ mkdir -p /home/project && \ chown -R theia:theia /home/theia && \ diff --git a/images/python/ToolDockerfile b/images/python/ToolDockerfile index 217f9452d..da424cb6d 100644 --- a/images/python/ToolDockerfile +++ b/images/python/ToolDockerfile @@ -44,7 +44,7 @@ COPY --from=plugin-image /home/theia/plugins /home/theia/plugins # Create theia user and directories # Application will be copied to /home/theia # Default workspace is located at /home/project -RUN adduser --system --group theia +RUN adduser --system --group theia --uid 101 RUN chmod g+rw /home && \ mkdir -p /home/project && \ chown -R theia:theia /home/theia && \ diff --git a/images/swift/ToolDockerfile b/images/swift/ToolDockerfile index 98632a933..7ba2bf595 100644 --- a/images/swift/ToolDockerfile +++ b/images/swift/ToolDockerfile @@ -70,7 +70,7 @@ COPY --from=plugin-image /home/theia/plugins /home/theia/plugins # Create theia user and directories # Application will be copied to /home/theia # Default workspace is located at /home/project -RUN adduser --system --group theia +RUN adduser --system --group theia --uid 101 RUN chmod g+rw /home && \ mkdir -p /home/project && \ chown -R theia:theia /home/theia && \