Commit d97b7340 by Benedikt

Set permissions on app directory and use correct user

parent e56660e5
...@@ -30,7 +30,8 @@ ENV MAVEN_HOME /usr/share/maven ...@@ -30,7 +30,8 @@ ENV MAVEN_HOME /usr/share/maven
# Add configuration files, bashrc and other tweaks # Add configuration files, bashrc and other tweaks
COPY ./s2i/bin/ $STI_SCRIPTS_PATH 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 # Set the default CMD to print the usage of the language image
CMD $STI_SCRIPTS_PATH/usage CMD $STI_SCRIPTS_PATH/usage
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment