Skip to content

Seednode/docker-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building the image

To build the image, clone the repository and run the following command, optionally specifying an nginx version to build:

./build.sh [nginx_version]

Optionally, you can specify the Docker registry to be used by prepending the REGISTRY environment variable:

REGISTRY=oci.seedno.de/seednode ./build.sh

If no registry is specified, the images will be built as local/nginx:<version>.

If a registry is specified, the built images will be pushed to it once the build is finished.

If you would like images to also be tagged as latest, you can specify LATEST=yes as an environment variable:

LATEST=yes ./build.sh

These environment variables and arguments can be combined:

REGISTRY=oci.seedno.de/seednode LATEST=yes ./build.sh 1.27.4

The resulting images from the above command might look like this:

╰─❯ docker images
REPOSITORY                        TAG               IMAGE ID       CREATED          SIZE
oci.seedno.de/seednode/nginx      1.27.4            1ecae9b1c724   6 minutes ago    656kB
oci.seedno.de/seednode/nginx      latest            1ecae9b1c724   6 minutes ago    656kB

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published