emqxarchive / emqx-docker

This repository is no longer maintained, please go to https://github.com/emqx/emqx-rel/tree/master/deploy/docker
Apache License 2.0
235 stars 162 forks source link

fixes regarding an openshift environment #65

Open ertanden opened 6 years ago

ertanden commented 6 years ago

Fixes #24 .

Make sure all boxes are checked (add x inside the brackets) when you submit your contribution, remove this sentence before doing so.

These changes should fix deployment of the image into an OpenShift environment (OpenShift uses a randomly generated User Id for the user that's running within a container).

It also contains some reorganization of Dockerfile so that whenever there are changes just on start.sh the build is faster. Also some fixes regarding the WORKDIR and HOME directory (/opt/emqttd) so that it's consistent everywhere.

spring2maz commented 6 years ago

Any reason why this was not merged ? or did it fall between the chars? I guess it now will conflict with emq30 branch. @turtleDeng