Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build vernemq for Docker fail #309

Open
johnnytolengo opened this issue Jan 16, 2022 · 1 comment
Open

Build vernemq for Docker fail #309

johnnytolengo opened this issue Jan 16, 2022 · 1 comment

Comments

@johnnytolengo
Copy link

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?

@johnnytolengo
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant