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 a9068e8 commit fa939c5Copy full SHA for fa939c5
docker/Dockerfile.worker
@@ -50,9 +50,10 @@ RUN python -m compileall syncmaster
50
51
# Do not run production as root, to improve security.
52
# Also user does not own anything inside the image, including venv and source code.
53
-RUN useradd syncmaster
+RUN useradd syncmaster && \
54
+ mkdir -p /home/syncmaster && \
55
+ chown -R syncmaster:syncmaster /home/syncmaster
56
USER syncmaster
-RUN mkdir -p ~/.ivy2 && chmod +x ~/.ivy2
57
58
59
FROM builder AS test
0 commit comments