-
Notifications
You must be signed in to change notification settings - Fork 460
Refactor Dockerfile to support multiple variants and drop supervisord #200
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
Conversation
72e495d to
1f99589
Compare
|
The tests inside the testing container are still broken. Is it worth to keep them? |
|
Maybe you can help with some question I've found, I'm trying to do local development and testing on the docker repository, and I think I should be able to create a new image and container directly from my local git repository: However, the environment variables (PMA_ARBITRARY and PMA_HOST when I tried that) don't seem to make any difference when running my deployed container. The image works, but I can't log in to a remote MySQL connection over TCP/IP because I can't set the host IP. If I deploy from the Docker Hub image, those variables do work as expected. Any idea about that? |
|
It appears that the tests are not severely broken and could be fixed, so I prefer to leave them (although ignoring a failing test is probably worse than not having tests in the first place, but this seems like something we could fix eventually). I'm not aware of any automated or manual use for the Makefile, but I'm not completely sure. I'm a little unclear on a couple of things. You said there will be the three releases/tags, so does that mean when creating a container a user would run a command like This is advanced-level Docker for my introductory-level understanding, so it's taking a bit to wrap my head around some of your suggested changes. |
I was not able to reproduce this. I'm getting the interface to enter a custom database server.
Yes, users can now specify the server type as the last part of the line. Otherwise the specified default ( But I highly recommend to use the same tag schema as other images do. So the tag schema could be something like: I'll also provide a
I can fix the remaining test, but I don't see the benefit from running all tests again inside a container. |
|
@ibennetch feel free to ping me with questions |
|
@ibennetch I just rebased my changes on top of phpMyAdmin 4.8.4. |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
That’s bad timing from the bot because we were just discussing amongst the team how to proceed with the tags. In fact, just yesterday I was pushing to move forward to resolve this. With no one having any opposition or alternative idea, I plan to merge this when I have a chance. |
|
I rebased this on top of current v4.8.5. Feel free to squash the commits. |
|
Thanks for your contribution and hard work on this. I've just squashed and merged the commits. I wonder if there's a way to update the version information in one place instead of needing to update four files on each new release. It would be great to update the documentation in https://github.com/phpmyadmin/docker/blob/master/README.md and https://github.com/phpmyadmin/phpmyadmin/blob/master/doc/setup.rst#installing-using-docker with information about working with the new tags, see #214. Thanks again. |
|
Thanks for merging this! |
|
@ibennetch I think you need to adjust the parameters on DockerHub to enable builds with the new directory structure. |
|
@J0WI I'd like to talk more with you about this, if you'd be willing to reach out to me by email (bennetch at gmail) or on Gitter/Google Talk. Sorry but I couldn't find your email address in your profile to reach out directly. |
This PR introduces some breaking changes:
The image will contain 3 releases/tags:
apache,fpm,fpm-alpine.apachereplaces the current nginx+fpm-alpine release, so it should be an alias tolatest. The FPM releases should be used with a HTTP server or image, e.g. nginx. Socurrent customized configurations can be migrated to anginx:alpineand a linkedphpmyadmin:fpm-alpinecontainer.So this may also break the current testing/release process. Please let me know if further adjustments are required (e.g. I don't know if/how the
Makefileis currently used).