From 1100ee58d70433b8e3ed83c6c1176351df571e02 Mon Sep 17 00:00:00 2001 From: Vince Grassia <593223+vgrassia@users.noreply.github.com> Date: Wed, 15 Nov 2023 18:08:24 -0500 Subject: [PATCH] Remove Dockerfile-k8s --- util/Nginx/Dockerfile-k8s | 40 --------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 util/Nginx/Dockerfile-k8s diff --git a/util/Nginx/Dockerfile-k8s b/util/Nginx/Dockerfile-k8s deleted file mode 100644 index 9f0d89ee1d..0000000000 --- a/util/Nginx/Dockerfile-k8s +++ /dev/null @@ -1,40 +0,0 @@ -FROM nginx:stable - -LABEL com.bitwarden.product="bitwarden" - -ENV USERNAME="bitwarden" -ENV GROUPNAME="bitwarden" - -RUN apt-get update && \ - apt-get install -y --no-install-recommends \ - gosu \ - curl && \ - rm -rf /var/lib/apt/lists/* - -COPY nginx.conf /etc/nginx/nginx.conf -COPY proxy.conf /etc/nginx/proxy.conf -COPY mime.types /etc/nginx/mime.types -COPY security-headers.conf /etc/nginx/security-headers.conf -COPY security-headers-ssl.conf /etc/nginx/security-headers.conf - -COPY setup-bwuser.sh / - -EXPOSE 8000 - -EXPOSE 8080 -EXPOSE 8443 - -RUN chmod +x /setup-bwuser.sh - -RUN ./setup-bwuser.sh $USERNAME $GROUPNAME - -RUN mkdir -p /var/run/nginx && \ - touch /var/run/nginx/nginx.pid -RUN chown -R $USERNAME:$GROUPNAME /var/run/nginx && \ - chown -R $USERNAME:$GROUPNAME /var/cache/nginx && \ - chown -R $USERNAME:$GROUPNAME /var/log/nginx - - -HEALTHCHECK CMD curl --insecure -Lfs https://localhost:8443/alive || curl -Lfs http://localhost:8080/alive || exit 1 - -USER bitwarden