Permalink
Browse files

Run Mule server as non-root

  • Loading branch information...
sohrab- committed Mar 24, 2015
1 parent b2469c5 commit 73e24df47e18951fa687f3ec0a5e98f027e50dbf
Showing with 5 additions and 0 deletions.
  1. +5 −0 Dockerfile
@@ -41,6 +41,11 @@ ENV PATH $PATH:$MULE_HOME/bin
# install Mule app
COPY sample-app.zip /opt/mule/apps/
# run Mule server as non-root
RUN useradd mule && \
chown -RL mule /opt/mule
ENV RUN_AS_USER mule
# run server
COPY start.sh /start.sh
RUN chmod +x /start.sh

0 comments on commit 73e24df

Please sign in to comment.