ARG VERSION=1.8.0
FROM etherpad/etherpad:${VERSION}
USER root
RUN chown -R etherpad:etherpad /opt/ehterpad-lite \
&& chmod -R 0750 /opt/ehterpad-lite
USER etherpad