From a49bd0e49681cd559402615a7b1f210069fa6caa Mon Sep 17 00:00:00 2001 From: Sawyer Czupka Date: Wed, 23 Oct 2024 15:06:18 -0400 Subject: [PATCH] nginx with kubectl --- deployment/images/Dockerfile.nginx_kubectl | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 deployment/images/Dockerfile.nginx_kubectl diff --git a/deployment/images/Dockerfile.nginx_kubectl b/deployment/images/Dockerfile.nginx_kubectl new file mode 100644 index 0000000..995e124 --- /dev/null +++ b/deployment/images/Dockerfile.nginx_kubectl @@ -0,0 +1,9 @@ +# First, create a Dockerfile to build the custom image +FROM openresty/openresty:alpine + +# Install kubectl +RUN wget -O /usr/local/bin/kubectl https://dl.k8s.io/release/v1.28.0/bin/linux/amd64/kubectl && \ + chmod +x /usr/local/bin/kubectl + +# Create directory for scripts +RUN mkdir /scripts && chmod 755 /scripts \ No newline at end of file