Disabled user creation

parent 684c566c
......@@ -4,7 +4,10 @@ RUN apt-get update -qq \
&& apt-get install -qqy ant \
&& ant -Dhalt.on.plugin.error=true -Dno.package=true -f build/build.xml dist.bin
FROM openjdk:8-jre
#RUN adduser -D -u 999 openfire
COPY --from=0 /target/release/openfire /usr/local/openfire
WORKDIR /usr/local/openfire
#RUN adduser --disabled-login --uid 999 --home /usr/local/openfire --gecos "" openfire \
# && chown -R openfire:openfire /usr/local/openfire
#USER openfire
VOLUME ["/usr/local/openfire/conf", "/usr/local/openfire/embedded-db", "/usr/local/openfire/plugins", "/usr/local/openfire/resources/security"]
CMD ["/usr/local/openfire/bin/openfire.sh"]
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