diff --git a/Dockerfile b/Dockerfile
index 935c04be3e21203cb8e5b934108bd15a0aaffdb4..fecaa75a1eaa0163145110a51aa6e843ee10bbd3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -30,7 +30,8 @@ ENV MAVEN_HOME /usr/share/maven
 # Add configuration files, bashrc and other tweaks
 COPY ./s2i/bin/ $STI_SCRIPTS_PATH
 
-USER default
+RUN chown -R 1001:0 /opt/app-root
+USER 1001
 
 # Set the default CMD to print the usage of the language image
 CMD $STI_SCRIPTS_PATH/usage