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:
~/repos/Rocket.Chat# docker build -t (my own docker registry)/bkraul/rocketchat:develop -f .docker/Dockerfile .
The image appears to begin building, but I get this feedback:
Sending build context to Docker daemon 23.82MB Step 1/10 : FROM rocketchat/base:8 ---> 1dc2a21e1890 Step 2/10 : ADD . /app ---> 0d7171700ae0 Step 3/10 : MAINTAINER email@example.com ---> Running in 1575411cf1b2 Removing intermediate container 1575411cf1b2 ---> 3930b5bed2bf Step 4/10 : RUN set -x && cd /app/bundle/programs/server && npm install && npm cache clear --force && chown -R rocketchat:rocketchat /app ---> Running in 5205b844ad01 + cd /app/bundle/programs/server /bin/sh: 1: cd: can't cd to /app/bundle/programs/server The command '/bin/sh -c set -x && cd /app/bundle/programs/server && npm install && npm cache clear --force && chown -R rocketchat:rocketchat /app' returned a non-zero code: 2
Again, where do I find this “bundle”?
I’d appreciate the help!