Skip to content

Commit c6380be

Browse files
committed
Remove chmod on project dir
See #471
1 parent b75e18d commit c6380be

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,12 @@ RUN adduser --gecos '' --disabled-password coder && \
3939

4040
USER coder
4141
# We create first instead of just using WORKDIR as when WORKDIR creates, the user is root.
42-
RUN mkdir -p /home/coder/project && \
43-
chmod g+rw /home/coder/project;
42+
RUN mkdir -p /home/coder/project
4443

4544
WORKDIR /home/coder/project
4645

4746
# This assures we have a volume mounted even if the user forgot to do bind mount.
48-
# XXX: Workaround for GH-459 and for OpenShift compatibility.
47+
# So that they do not lose their data if they delete the container.
4948
VOLUME [ "/home/coder/project" ]
5049

5150
COPY --from=0 /src/packages/server/cli-linux-x64 /usr/local/bin/code-server

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy