Sep 28, 2017. | By: Bert
The default deployment option for GOST is using Docker images. At the moment, we have three Docker images:
geodan/gost: Image containing the GOST server
geodan/gost-db: Image containing the GOST database
geodan/gost-dashboard: Image containing front-end proxy (NGINX) and GOST dashboard
We try to keep the Docker images as small as possible. Small images means really fast deployment and operation. In the last year, the GOST server image is reduced in size from 400MB to 10MB :-) We were able to create really small images using two techniques:
The GOST images are now based on Alpine images. Alpine is minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size!
2] Use multi-stage builds
Multi-stage builds is a new feature in Docker tooling. This techique allows to only deploy the resulting binaries in the image. For more information about Docker multi-stage builds: https://docs.docker.com/engine/userguide/eng-image/multistage-build/
Subscribe to this blog via RSS.