TommyLau / docker-ocserv

Docker OpenConnect VPN Server
351 stars 246 forks source link

MOD: use alpine linux to make the image less than 20MB #7

Closed sempr closed 8 years ago

sempr commented 8 years ago

You can use alpine linux as the base image, then you can get a smaller image, which is only 17.96 MB See the new Dockerfile or docker pull sempr/ocserv :)

TommyLau commented 8 years ago

According to the official introduction found here, it quoted "This image is officially supported on Docker version 1.9.0.", can it be used under older version of Docker, as far as I know, some people are still using very old version of Docker, like 1.6

TommyLau commented 8 years ago

Alpine had been used as the base image, however, the TCP wrappers, libc sha2crypt cannot be enabled due to the lack of dependencies, still need some time to dig in. Thanks for your contribution.