diff --git a/nginx/1.16.1/20.03-lts-sp1/Dockerfile b/nginx/1.16.1/20.03-lts-sp1/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..b990ebceb6122a2960d3a522fda79d4af4676e74 --- /dev/null +++ b/nginx/1.16.1/20.03-lts-sp1/Dockerfile @@ -0,0 +1,6 @@ +FROM openeuler/openeuler:20.03-lts-sp1 +MAINTAINER gaohechao +RUN yum -y update \ + && yum -y install nginx \ + && yum clean all +ENTRYPOINT ["nginx", "-g", "daemon off;"] diff --git a/nginx/README.md b/nginx/README.md new file mode 100644 index 0000000000000000000000000000000000000000..a2e2d7f5e5e4c57898e6f9e2d13a5f62a660ea24 --- /dev/null +++ b/nginx/README.md @@ -0,0 +1,30 @@ +# Nginx + +# Quick reference + +- The official Nginx docker image. + +- Maintained by: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative) + +- Where to get help: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative), [openEuler](https://gitee.com/openeuler/community) + +# Build reference + +1. Build images and push: +```shell +docker buildx build -t "openeuler/nginx:$VERSION" --platform linux/amd64,linux/arm64 . --push +``` + +We are using `buildx` in here to generate multi-arch images, see more in [Docker Buildx](https://docs.docker.com/buildx/working-with-buildx/) + +2. Run: +```shell +docker run -d openeuler/nginx:1.16.1-20.03-lts-sp1 +``` + +# Supported tags and respective Dockerfile links + +- 1.16.1-20.03-lts-sp1: nginx v1.16.1, openEuler 20.03 LTS SP1 + +## Operating System +Linux/Unix, ARM64 or x86-64 architecture.