vernemq/docker-vernemq

Build vernemq for Docker fail

johnnytolengo opened this issue · 1 comments

I already build my own vernemq version but when I use that release to build an own Docker-vernemq version it crashes, it seems that something is missing around the config builder or so.

My docker file to build vernemq:

FROM erlang:23.3.2 AS builder
WORKDIR /vernemq
RUN apt-get update && \
apt-get install -y git bash curl build-essential erlang libsnappy-dev libssl-dev sed
RUN git clone https://github.com/vernemq/vernemq.git .
RUN sed -i '/echoerr "  run \.*/a vernemq config generate -l debug' files/env.sh
RUN sed -i '/vernemq config generate \.*/a cat /etc/vernemq.conf' files/env.sh
RUN cat files/env.sh
RUN make rel
RUN mkdir /output
RUN cd _build/default/rel/vernemq; tar -cvzf /output/vernemq-1.12.5.buster.tar.gz .

make rel does't make a proper release for docker :( but run very well as standalone

What is missing to build a good docker version of the vernemq?

Hello @ioolkos could you help me with that?

My plain vernemq release is not working when I put it in the docker container, and I can not use the current version 1.12.4 because it has the old erlang-pbkdf2 package and doesn't work with mongodb V5