Created
December 25, 2019 10:06
-
-
Save kksudo/61893ec60ac5bc31b3fe8c5b16667635 to your computer and use it in GitHub Desktop.
emqtt_bench v.0.3.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM erlang:22-alpine | |
# install packages | |
RUN apk update && apk add --no-cache \ | |
bash \ | |
bc \ | |
g++ \ | |
git \ | |
make \ | |
musl-dev \ | |
net-tools \ | |
openssh openssh-server \ | |
openssl \ | |
py2-pip \ | |
rsync \ | |
wget \ | |
zlib-dev \ | |
; | |
# Add ssl to erlang | |
RUN apk add --no-cache \ | |
erlang-crypto \ | |
erlang-ssl \ | |
; | |
WORKDIR /opt/emqtt | |
COPY . . | |
RUN cd /opt/emqtt && make | |
CMD sh foreground |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment