[ Fixing Permission Error ] (#1842)

- Inside container, we can't change /etc files without root permissions
This commit is contained in:
Lucas Caponi da Silva 2019-01-08 05:36:20 -02:00 committed by Shao Yu-Lung (Allen)
parent e07c128063
commit bbff18c631
1 changed files with 3 additions and 1 deletions

View File

@ -2,4 +2,6 @@ FROM theiaide/theia
LABEL maintainer="ahkui <ahkui@outlook.com>" LABEL maintainer="ahkui <ahkui@outlook.com>"
USER root
RUN echo 'fs.inotify.max_user_watches=524288' >> /etc/sysctl.conf RUN echo 'fs.inotify.max_user_watches=524288' >> /etc/sysctl.conf