docker-adminer
docker-adminer copied to clipboard
switch to an Alpine based image
This is the official phpmyadmin Dockerfile that we can imitate: https://github.com/phpmyadmin/docker/blob/master/Dockerfile
The image size is 55MB. While this Adminer image is 218MB.
now that there is an official php image based on alpine, I would recommend using it instead of building from scratch. the final image will be bigger but most of the layers will probably already have been downloaded
and it would automatically benefit from size improvement from the official image (eg: docker-library/php#206 which would bring the size closer to the phpmyadmin alpine image)
Looks like this repo is quite dead. My related issue #13 was never commented. Maybe we should start a new adminer project? Should be quite simple to build a Dockerfile
.
@mikehaertl I might take a look at this if things stays the same here. please tell if you start something before I do!
@mathroc I always wanted to, but never found the time. So please go ahead and let us know here where to find it.
Thanks for the input guys! I understand that this project may appear rather dead, but I can assure you it's not, and I'm looking into devoting some more time into it in the upcoming weeks :-)
I'm not opposed to switching to alpine at all, does anybody feel like filing a PR? :+1:
See #19. I've planned also php7, but there is problem with mssql driver.
Hi everyone, i recently created a lightweight (8MB on dockerhub) & secure (no root process) image based on Alpine Linux 3.4, if anyone is interested, my repo is here : https://github.com/hardware/adminer
You can merge this with @kusmierz job if you want.