Enforce local bin files mode (#24)

If you modify those files, COPY will keep their attributes and may
break the generated container. This fix enforce more 755 for files
from local bin directory
pull/28/head
Christophe Romain 6 years ago
parent de94743ec3
commit ca736fb9d1

@ -67,6 +67,7 @@ RUN apk upgrade --update musl \
WORKDIR $HOME
COPY --from=builder /ejabberd/runtime .
COPY bin/* bin/
RUN chmod 755 bin/ejabberdctl bin/ejabberdapi bin/erl
COPY --chown=ejabberd:ejabberd conf conf/
ADD --chown=ejabberd:ejabberd https://download.process-one.net/cacert.pem conf/cacert.pem

Loading…
Cancel
Save