Can anyone help me with how to build a docker image from the official github (develop branch)?
I have been relying on the develop build published on docker hub, but as of late it has fallen into unreliability. I figured I’d just build my own from the repo.
However, I can’t seem to find the proper instructions on how to do this. I keep seeing references to a “bundle”, but I see nothing on the repo. Here is what I am currently doing:
Clone the official Rocket.Chat github repo.
Checkout the develop branch.
Inside of the root of the repo, I issue the following command:
@lucia.guevgeozian, I noticed you posted a reply to a similar question (but more geared towards customizing). Could you please help me understand the bundle situation?
either generate a build with meteor build or download a tar from our releases. Then place the extracted bundle folder next to the Dockerfile in a folder.
Thanks, @aaron.ogle. I’m trying to understand. As you can see my goal is to build a rocketchat image in exactly the same way as the build that is being published in the docker develop tag. So I do not know how downloading a tar from the releases would get me there.
Do you have a copy of the Dockerfile/script that creates the docker develop tag, and if so could you post it here?
I’m guessing this is the exact same one you are trying.
We do a meteor build in our ci and then at the end of the build take the bundle folder produced and we tar it up and ship it off, as well as produce the docker image.
At some point we had a local multi-stage dockerfile that would build full image. But since it had meteor build inside it was a bit flaky so we never published to the repo. In theory you could make one by reading through our circleci though