docker-adminer icon indicating copy to clipboard operation
docker-adminer copied to clipboard

switch to an Alpine based image

Open saada opened this issue 8 years ago • 7 comments

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.

saada avatar Feb 25 '16 19:02 saada

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)

mathroc avatar Apr 09 '16 11:04 mathroc

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 avatar Apr 09 '16 13:04 mikehaertl

@mikehaertl I might take a look at this if things stays the same here. please tell if you start something before I do!

mathroc avatar Apr 09 '16 16:04 mathroc

@mathroc I always wanted to, but never found the time. So please go ahead and let us know here where to find it.

mikehaertl avatar Apr 10 '16 08:04 mikehaertl

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:

clue avatar Apr 10 '16 09:04 clue

See #19. I've planned also php7, but there is problem with mssql driver.

kusmierz avatar Apr 10 '16 11:04 kusmierz

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.

hardware avatar Sep 25 '16 12:09 hardware