Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 991 Bytes

building-the-image.md

File metadata and controls

33 lines (22 loc) · 991 Bytes

Building the Image

Prerequisites

Before you can build the NGINX Kubernetes Gateway, make sure you have the following software installed on your machine:

Steps

  1. Clone the repo and change into the nginx-kubernetes-gateway directory:

    git clone https://github.com/nginxinc/nginx-kubernetes-gateway.git
    cd nginx-kubernetes-gateway
    
  2. Build the image:

    make PREFIX=myregistry.example.com/nginx-kubernetes-gateway container
    

    Set the PREFIX variable to the name of the registry you'd like to push the image to. By default, the image will be named nginx-kubernetes-gateway:edge.

  3. Push the image to your container registry:

    docker push myregistry.example.com/nginx-kubernetes-gateway:edge
    

    Make sure to substitute myregistry.example.com/nginx-kubernetes-gateway with your registry.