diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index de97528..0000000 --- a/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -# from custom image -FROM ngx-template:latest - -ARG NET_NAME=kek -ARG CONTAINER_NAME=lol -ARG STATIC_FILE=/usr/share/nginx/html/index.html - -# change default nginx index.html -RUN sed -i '13,21d' $STATIC_FILE && \ - sed -i "13i \ - \ - \ -
NETWORKCONTAINER
$NET_NAME$CONTAINER_NAME
" $STATIC_FILE - -# commented lines don't work -CMD /root/scripts/knocking_setup.sh \ - && nginx && knockd -d && sleep infinity - diff --git a/Dockerfile_Ngx_Template b/Dockerfile_Ngx_Template deleted file mode 100644 index 728973e..0000000 --- a/Dockerfile_Ngx_Template +++ /dev/null @@ -1,7 +0,0 @@ -FROM nginx:latest - -COPY ./scripts/knocking_setup.sh /root/scripts/knocking_setup.sh - -RUN apt update \ - && apt install knockd htop iptables iproute2 vim curl -y -