Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Readme on docker hub is hard to read #3224

Closed
turt2live opened this issue May 16, 2018 · 7 comments
Closed

Readme on docker hub is hard to read #3224

turt2live opened this issue May 16, 2018 · 7 comments
Assignees
Labels
A-Docs things relating to the documentation z-p2 (Deprecated Label)

Comments

@turt2live
Copy link
Member

https://hub.docker.com/r/matrixdotorg/synapse/

It looks like it's taking the RST and interpreting it as markdown. Someone with permissions should probably take out the irrelevant sections and fix it up a little bit.

@mvgorcum
Copy link
Contributor

Because it's taking the readme it also contains a lot of information that is not relevant for the docker container (such as the installing from source section).

@Ezwen
Copy link

Ezwen commented May 17, 2018

According to the Docker Hub documentation, Docker Hub automatically displays the README file found in the same folder as the Dockerfile: https://docs.docker.com/docker-hub/builds/#understand-the-build-process

And it seems that Docker Hub supports having a Dockerfile in a dedicated folder, instead of the root folder: https://docs.docker.com/docker-hub/builds/#add-and-run-a-new-build

Therefore maybe the Dockerfile could be moved to contrib/docker?

@neilisfragile
Copy link
Contributor

Thanks all for highlighting - let me check with @michaelkaye

@michaelkaye michaelkaye self-assigned this May 18, 2018
@michaelkaye
Copy link
Contributor

Hi there; thanks for noticing and letting us know.

I didn't realise that dockerhub overwrote the readme on each build -- we're probably going to have to think carefully about how to version new environment variables in the configuration options section.

For now, I think we should probably push the Dockerfile, README and start.sh into a /docker folder in the root. It makes the command to build a little harder, but I don't think we should consider the docker file part of /contrib/ any more - we're pushing the images to the matrixdotorg account as part of the build process.

@michaelkaye
Copy link
Contributor

I've disabled the automatic build for now, and updated the docker description with something more suitable to that purpose - https://hub.docker.com/r/matrixdotorg/synapse/

Once we rearrange we can re-enable the auto-build, and we'll have that done before the next release (so from then on it'll be all fine)

@neilisfragile neilisfragile added z-p2 (Deprecated Label) A-Docs things relating to the documentation labels May 18, 2018
michaelkaye added a commit that referenced this issue May 21, 2018
michaelkaye added a commit that referenced this issue May 21, 2018
michaelkaye added a commit that referenced this issue Jun 8, 2018
michaelkaye added a commit that referenced this issue Jun 8, 2018
michaelkaye added a commit that referenced this issue Jun 8, 2018
@ptman
Copy link
Contributor

ptman commented Jul 20, 2018

If this is indeed the correct issue for automated docker builds: could you please add building docker images for releases to some manual checklist until it is automated?

michaelkaye added a commit that referenced this issue Aug 2, 2018
@richvdh
Copy link
Member

richvdh commented Sep 18, 2018

fixed by #3644

@richvdh richvdh closed this as completed Sep 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Docs things relating to the documentation z-p2 (Deprecated Label)
Projects
None yet
Development

No branches or pull requests

7 participants