Files
dockerfiles/nginx
Rusty Lynch b503f4da60 Minimize nginx container using the os-core container.
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>
2019-06-07 12:02:08 -07:00
..

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 image section of the official nginx image page.

Extra Build ARGs

  • swupd_args Specifies SWUPD flags

Default build args in Docker are on: https://docs.docker.com/engine/reference/builder/#arg