ejabberd-contrib
ejabberd-contrib copied to clipboard
ejabberd_auth_http compilation fails with ejabberd/ecs:23.04
I'm trying to build docker image based on ejabberd/ecs:23.04 with ejabberd_auth_http installed, there is my docker image
FROM ejabberd/ecs:23.04
USER root
RUN set -xe \
&& apk add --update --no-cache --virtual .build-deps \
build-base \
erlang-dev \
git \
mc
USER ejabberd
# Clone the ejabberd-contrib repository
RUN git clone https://github.com/processone/ejabberd-contrib.git ~/ejabberd-contrib
RUN cd ~/ejabberd-contrib/ejabberd_auth_http && \
mkdir ebin && \
erlc \
-o ebin \
-I include -I /home/ejabberd/lib/ejabberd-23.4.0/include \
-DLAGER -DNO_EXT_LIB \
src/*erl
But, unfortunately, docker build .
fails on erlc comand with src/ejabberd_auth_http.erl: undefined parse transform 'lager_transform'
,
I took a look at ejabberd_auth_http code, there is no usage of lager
What is the correct way to build docker image with ejabberd_auth_http module?