mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-06-29 09:05:52 +00:00
b503f4da60
Convert nginx container to be based on the minimal os-core container, using a multistage build technique to add additional Clear Linux content. Signed-off-by: Rusty Lynch<rusty.lynch@intel.com>
nginx
This provides a Clear Linux* nginx service
Build
docker build -t clearlinux/nginx .
Or just pull it from Dockerhub
docker pull clearlinux/nginx
Start nginx Container
docker run -p 80:80 -v /some/content:/usr/share/nginx/html -d clearlinux/nginx
How to use this image
- See
How to use this imagesection of the official nginx image page.
Extra Build ARGs
swupd_argsSpecifies SWUPD flags
Default build args in Docker are on: https://docs.docker.com/engine/reference/builder/#arg