New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tag versions #52
Comments
I agree, this would make a lot of sense. This and creating automated builds are high on the priorities for me with the Docker image. Just haven't had a lot of time lately to mess around with it. |
beyond bugfixes there won't be anything major happening with the 4.2 branch. when 5 comes out it's going to change a lot of things so we'll probably need to tag a difference between 4&5 |
Just to elaborate a little for the sake of clarity, I'm meaning that the Dockerfile should install a specific version of Ampache (and dependencies where appropriate) and be tagged on Docker Hub with that version. That way, if anyone runs As it is today, the image gets built with whatever is current at the time. I can see why this might be seen as advantageous (always have the current version), but I think it's preferable to have reproducible builds. The |
it's definitely going to start being relevant once we get ready for 5 and it will actually be a good way of providing a beta/preview release for things. |
Sounds good. I assume that can also be done for the "nosql" variant as well? |
To be honest, I'd prefer that be the default, and drop the integrated SQL server since it's a new major version and we can introduce breaking changes like that :) |
I just did a 4.2.5 build with the Arg (takes forever on my docker server to build arm) so I'll update the config with the arg I'm not a docker person but it does seem to be anti-docker to include the webserver and MySQL in the same image? |
I'm at least above-beginner level, but I have done quite a bit of research on it. According to Docker's Best practices for writing Dockerfiles:
It seems like it would be a good idea to follow these as much as possible. I'd be willing to write up a guide or something to go along with it, so that the transition could be easier for others. If we are going to do this, would be a good idea to give plenty of heads up beforehand though. |
I'm going to do a source-changes/V5 preview so when those start I'll ping this issue with it. |
It’s not a settled matter, really. For consumer end users, there’s a lot of appeal having a one-container-just-works solution. |
Preview of source changes is in (nosql only) So then the question is do we just keep it as latest/nosql or do we change to latest/plussql? I'm okay with keeping things the way they are unless there's a decent reason to change. We only added nosql this year so is that too big of a change to what we've had for years before or is that okay to do for 5 if we keep 4 tags |
I think the "docker way" would be to have the Ampache application in one container and the database in another. One way to co-ordinate this would be with Docker Compose. There are already official MySQL containers on Docker Hub, so it should be possible to just use one of those. Because the dependency would be maintained in the docker-compose.yml file, for anyone like @jmtd who wants it to "just work", it's all there (just run |
That's not sufficient, I'm afraid. The number of people who have Besides Of course implement what you are prepared to support but don't be under the illusion that a multi-container solution addresses the needs of people who want a turn-key solution. |
I have no particular involvement in this project, so it certainly isn't up to me. I was just putting forward my understanding of the docker way of doing things/best practices, but I don't claim to be an expert. For my own particular use-case, I have a separate database solution, so don't want my application container bloating with a database I don't need. Now there is the "nosql" tag, that should satisfy my requirements (if/when it is also tagged with specific version numbers - which is what this ticket was about in the first place). How the maintainers of this project go about maintaining these variations is, of course, up to them |
So to me it seems like keeping mysql in the latest tag is a good thing. Then if you have the inclination and the knowledge the nosql tags are available. |
One of the standards I see when on hub.docker.com is using tags for version numbers. This is useful because it allows people to specify which version of the application they want and enables reproducible builds.
Is this something that could be considered here please?
The text was updated successfully, but these errors were encountered: