Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1009 Bytes

building-the-image.md

File metadata and controls

33 lines (22 loc) · 1009 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 --branch v0.1.0
    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:0.1.0.

  3. Push the image to your container registry:

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

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