smhaller / ldap-overleaf-sl

Free LDAP and OAuth2 Authentication and Authorisation for Sharelatex / Overleaf (Community Edition)
GNU Affero General Public License v3.0
74 stars 35 forks source link

Reduce RUN command in Dockerfile #28

Closed yzx9 closed 1 year ago

yzx9 commented 1 year ago

Since docker was design as a layering system, every RUN command will generating commits and always exists where, even if some files are marked for deletion at the next layer. It is therefore recommanded to merge RUN commands like:

RUN echo "Hello, " && \
    echo "World!"