diff --git a/Dockerfile b/Dockerfile index 4c6429f..1146e01 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN apt-get -y install --no-install-recommends wget gnupg ca-certificates jq ope RUN wget -O - https://openresty.org/package/pubkey.gpg | apt-key add - RUN codename=`grep -Po 'VERSION="[0-9]+ \(\K[^)]+' /etc/os-release` && echo "deb http://openresty.org/package/debian $codename openresty" | tee /etc/apt/sources.list.d/openresty.list RUN apt-get update -RUN apt-get -y install openresty luarocks libssl-dev git vim lua-json lua-socket +RUN apt-get -y install openresty luarocks libssl-dev git vim lua-json lua-socket python3 python3-pip RUN apt-get update --fix-missing RUN chmod 777 /usr/local/openresty/nginx RUN luarocks install luasec @@ -48,7 +48,10 @@ COPY scripts/node.lua /usr/local/openresty/nginx/conf/kubeinvaders/node.lua COPY scripts/kube-linter.lua /usr/local/openresty/nginx/conf/kubeinvaders/kube-linter.lua COPY scripts/chaos-node.lua /usr/local/openresty/nginx/conf/kubeinvaders/chaos-node.lua COPY scripts/chaos-containers.lua /usr/local/openresty/nginx/conf/kubeinvaders/chaos-containers.lua +COPY scripts/programming_mode.lua /usr/local/openresty/nginx/conf/kubeinvaders/programming_mode.lua COPY scripts/config_kubeinv.lua /usr/local/openresty/lualib/config_kubeinv.lua +COPY scripts/programming_mode /opt/programming_mode/ +RUN pip3 install -r /opt/programming_mode/requirements.txt COPY nginx/KubeInvaders.conf /etc/nginx/conf.d/KubeInvaders.conf RUN chmod g+rwx /var/cache/nginx /var/run /var/log/nginx /var/www/html /etc/nginx/conf.d diff --git a/html5/DIMITRI_.TTF b/html5/DIMITRI_.TTF new file mode 100644 index 0000000..821170a Binary files /dev/null and b/html5/DIMITRI_.TTF differ diff --git a/html5/index.html b/html5/index.html index 7f9cde7..5c26694 100644 --- a/html5/index.html +++ b/html5/index.html @@ -115,26 +115,52 @@