anchor.diff:          libyaml-dev \
           libsqlite3-dev \
           erlang-src erlang-dev \
  +        libgd-dev \
  +        libwebp-dev \
       ' \
       && requiredAptPackages=' \
           wget \
  
positive.code:     PATH=$EJABBERD_HOME/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin \
      DEBIAN_FRONTEND=noninteractive \
      XMPP_DOMAIN=localhost \
      # Set default locale for the environment
      LC_ALL=C.UTF-8 \
      LANG=en_US.UTF-8 \
      LANGUAGE=en_US.UTF-8
  
negative.code: ADD ./scripts $EJABBERD_HOME/scripts
  ADD https://raw.githubusercontent.com/rankenstein/ejabberd-auth-mysql/master/auth_mysql.py $EJABBERD_HOME/scripts/lib/auth_mysql.py
  RUN chmod a+rx $EJABBERD_HOME/scripts/lib/auth_mysql.py
  RUN chmod +x /usr/local/lib/eimp*/priv/bin/eimp
  
  # Add config templates
  ADD ./conf /opt/ejabberd/conf
  