We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a00cf5 commit b1e8ca5Copy full SHA for b1e8ca5
.devcontainer/Dockerfile
@@ -6,8 +6,7 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
6
PYTHONUNBUFFERED=1 \
7
USER=compiler
8
9
-RUN useradd --create-home --shell /bin/bash $USER && \
10
- chown -R $USER /home/$USER
+RUN useradd --create-home --shell /bin/bash $USER
11
12
USER $USER
13
ENV PATH "$PATH:/home/$USER/.local/bin"
@@ -20,4 +19,8 @@ COPY compiler_admin compiler_admin
20
19
COPY pyproject.toml pyproject.toml
21
RUN pip install -e .[dev,test]
22
+USER root
23
+RUN chown -R $USER /home/$USER
24
+USER $USER
25
+
26
CMD ["sleep", "infinity"]
0 commit comments