Before you can build the NGINX Kubernetes Gateway, make sure you have the following software installed on your machine:
-
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
-
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 namednginx-kubernetes-gateway:0.1.0
. -
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.