From bbff18c6314e72b7ac8fc60d84b6ad641ac2577e Mon Sep 17 00:00:00 2001 From: Lucas Caponi da Silva Date: Tue, 8 Jan 2019 05:36:20 -0200 Subject: [PATCH] [ Fixing Permission Error ] (#1842) - Inside container, we can't change /etc files without root permissions --- ide-theia/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ide-theia/Dockerfile b/ide-theia/Dockerfile index 39f2c1b6..6d42bb48 100644 --- a/ide-theia/Dockerfile +++ b/ide-theia/Dockerfile @@ -2,4 +2,6 @@ FROM theiaide/theia LABEL maintainer="ahkui " -RUN echo 'fs.inotify.max_user_watches=524288' >> /etc/sysctl.conf \ No newline at end of file +USER root + +RUN echo 'fs.inotify.max_user_watches=524288' >> /etc/sysctl.conf