Building without Docker


#1

I’d like to build Mattermost on FreeBSD in order to test it on this platform and in the end, if found working without issues, create a port to include it in FreeBSD Ports Tree. I’ve seen in the comments, that simple ‘make run’ should regardless the platform, but that’s not the case here. First issue was that it is meant to be ‘gmake’ instead of ‘make’, but then I am getting issues with docker not being available. Now, despite FreeBSD having containers available for almost a decade, these containers are not a Docker ones and even if one day Docker will be supported on FreeBSD, it is not the case today. So, the question is, is it possible to build Mattermost without Docker, and if it is, then how?


#2

Thanks @randomuser for the feedback,

We have an existing feature request to add support for FreeBSD, would you like to upvote it and participate in the discussions?

Each user in the Feature Idea forum receives 10 votes, each one influencing the future of the software.


#3

I have voted for that, but that’s not a solution nor real answer. Most likely it will take you quite a while to add the ‘support for FreeBSD’ and if I’d only have instructions, I could just do it, becuase there isn’t anything magical in Mattermost that FreeBSD can’t do or that would require ‘adding support’. It is just a piece of software that’s bundled using quite unfortunate technology, instead of standard thing like Makefile… I guess I’ll have to rip out the dockerfile and reverse engineer the solution myself!