diff --git a/crypto-python_3.10-no_socket/Dockerfile b/crypto-python_3.10-no_socket/Dockerfile index 45419fa..af33d33 100644 --- a/crypto-python_3.10-no_socket/Dockerfile +++ b/crypto-python_3.10-no_socket/Dockerfile @@ -26,8 +26,7 @@ RUN useradd -m ctf RUN chown ctf:ctf /app USER ctf -# [可选]指定对外暴露端口,对于GZCTF等平台,强制EXPOSE可能会造成非预期端口泄露,请酌情启用 -# EXPOSE 9999 +EXPOSE 9999 # 指定容器入口点 ENTRYPOINT ["/bin/bash","/app/docker-entrypoint.sh"] \ No newline at end of file diff --git a/crypto-python_3.10-with_socket/Dockerfile b/crypto-python_3.10-with_socket/Dockerfile index 63f4642..4eabd0d 100644 --- a/crypto-python_3.10-with_socket/Dockerfile +++ b/crypto-python_3.10-with_socket/Dockerfile @@ -23,8 +23,7 @@ RUN useradd -m ctf RUN chown ctf:ctf /app USER ctf -# [可选]指定对外暴露端口,对于GZCTF等平台,强制EXPOSE可能会造成非预期端口泄露,请酌情启用 -# EXPOSE 9999 +EXPOSE 9999 # 指定容器入口点 ENTRYPOINT ["/bin/bash","/app/docker-entrypoint.sh"] \ No newline at end of file diff --git a/crypto-python_3.8-no_socket/Dockerfile b/crypto-python_3.8-no_socket/Dockerfile index 9910993..26b0730 100644 --- a/crypto-python_3.8-no_socket/Dockerfile +++ b/crypto-python_3.8-no_socket/Dockerfile @@ -26,8 +26,7 @@ RUN useradd -m ctf RUN chown ctf:ctf /app USER ctf -# [可选]指定对外暴露端口,对于GZCTF等平台,强制EXPOSE可能会造成非预期端口泄露,请酌情启用 -# EXPOSE 9999 +EXPOSE 9999 # 指定容器入口点 ENTRYPOINT ["/bin/bash","/app/docker-entrypoint.sh"] \ No newline at end of file diff --git a/crypto-python_3.8-with_socket/Dockerfile b/crypto-python_3.8-with_socket/Dockerfile index 68616d7..3b98a67 100644 --- a/crypto-python_3.8-with_socket/Dockerfile +++ b/crypto-python_3.8-with_socket/Dockerfile @@ -23,8 +23,7 @@ RUN useradd -m ctf RUN chown ctf:ctf /app USER ctf -# [可选]指定对外暴露端口,对于GZCTF等平台,强制EXPOSE可能会造成非预期端口泄露,请酌情启用 -# EXPOSE 9999 +EXPOSE 9999 # 指定容器入口点 ENTRYPOINT ["/bin/bash","/app/docker-entrypoint.sh"] \ No newline at end of file diff --git a/crypto-sagemath_9.6/Dockerfile b/crypto-sagemath_9.6/Dockerfile index 5e2d2f6..c979200 100644 --- a/crypto-sagemath_9.6/Dockerfile +++ b/crypto-sagemath_9.6/Dockerfile @@ -27,8 +27,7 @@ COPY ./src/main.sage /home/sage # 拷贝启动脚本至根目录 COPY ./service/docker-entrypoint.sh /home/sage/docker-entrypoint.sh -# [可选]指定对外暴露端口,对于GZCTF等平台,强制EXPOSE可能会造成非预期端口泄露,请酌情启用 -# EXPOSE 9999 +EXPOSE 9999 # 指定容器入口点 ENTRYPOINT ["/bin/bash","/home/sage/docker-entrypoint.sh"] \ No newline at end of file diff --git a/misc-lsb-dynamic/Dockerfile b/misc-lsb-dynamic/Dockerfile index 92bb0c4..7cb6184 100644 --- a/misc-lsb-dynamic/Dockerfile +++ b/misc-lsb-dynamic/Dockerfile @@ -27,8 +27,7 @@ WORKDIR /home/ctf # 部署程序 COPY ./src /app -# [可选]指定对外暴露端口,对于GZCTF等平台,强制EXPOSE可能会造成非预期端口泄露,请酌情启用 -# EXPOSE 9999 +EXPOSE 9999 # 指定容器入口点 ENTRYPOINT ["/bin/sh","/docker-entrypoint.sh"] \ No newline at end of file diff --git a/misc-pyjail-python_3.10-socat/Dockerfile b/misc-pyjail-python_3.10-socat/Dockerfile index 524ac60..5482b4e 100644 --- a/misc-pyjail-python_3.10-socat/Dockerfile +++ b/misc-pyjail-python_3.10-socat/Dockerfile @@ -27,8 +27,7 @@ WORKDIR /home/ctf # 部署程序 COPY ./src/server.py /home/ctf/server.py -# [可选]指定对外暴露端口,对于GZCTF等平台,强制EXPOSE可能会造成非预期端口泄露,请酌情启用 -# EXPOSE 9999 +EXPOSE 9999 # 指定容器入口点 ENTRYPOINT ["/bin/sh","/docker-entrypoint.sh"] \ No newline at end of file diff --git a/misc-pyjail-python_3.10-xinetd/Dockerfile b/misc-pyjail-python_3.10-xinetd/Dockerfile index fdf9a4b..06d4be2 100644 --- a/misc-pyjail-python_3.10-xinetd/Dockerfile +++ b/misc-pyjail-python_3.10-xinetd/Dockerfile @@ -31,8 +31,7 @@ WORKDIR /home/ctf # 部署程序 COPY ./src/server.py /home/ctf/server.py -# [可选]指定对外暴露端口,对于GZCTF等平台,强制EXPOSE可能会造成非预期端口泄露,请酌情启用 -# EXPOSE 9999 +EXPOSE 9999 # 指定容器入口点 ENTRYPOINT ["/bin/sh","/docker-entrypoint.sh"] \ No newline at end of file diff --git a/pwn-ubuntu_16.04/Dockerfile b/pwn-ubuntu_16.04/Dockerfile index 5a710b6..d825417 100644 --- a/pwn-ubuntu_16.04/Dockerfile +++ b/pwn-ubuntu_16.04/Dockerfile @@ -49,8 +49,7 @@ RUN chown -R root:ctf /home/ctf && \ touch /home/ctf/flag && \ chmod 744 /home/ctf/flag -# [可选]指定对外暴露端口,对于GZCTF等平台,强制EXPOSE可能会造成非预期端口泄露,请酌情启用 -# EXPOSE 9999 +EXPOSE 9999 # 指定容器入口点 ENTRYPOINT ["/bin/bash","/docker-entrypoint.sh"] diff --git a/pwn-ubuntu_18.04/Dockerfile b/pwn-ubuntu_18.04/Dockerfile index 123a7b7..dc83ed3 100644 --- a/pwn-ubuntu_18.04/Dockerfile +++ b/pwn-ubuntu_18.04/Dockerfile @@ -49,8 +49,7 @@ RUN chown -R root:ctf /home/ctf && \ touch /home/ctf/flag && \ chmod 744 /home/ctf/flag -# [可选]指定对外暴露端口,对于GZCTF等平台,强制EXPOSE可能会造成非预期端口泄露,请酌情启用 -# EXPOSE 9999 +EXPOSE 9999 # 指定容器入口点 ENTRYPOINT ["/bin/bash","/docker-entrypoint.sh"] diff --git a/pwn-ubuntu_20.04/Dockerfile b/pwn-ubuntu_20.04/Dockerfile index 26041a1..3b04086 100644 --- a/pwn-ubuntu_20.04/Dockerfile +++ b/pwn-ubuntu_20.04/Dockerfile @@ -48,8 +48,7 @@ RUN chown -R root:ctf /home/ctf && \ touch /home/ctf/flag && \ chmod 744 /home/ctf/flag -# [可选]指定对外暴露端口,对于GZCTF等平台,强制EXPOSE可能会造成非预期端口泄露,请酌情启用 -# EXPOSE 9999 +EXPOSE 9999 # 指定容器入口点 ENTRYPOINT ["/bin/bash","/docker-entrypoint.sh"] diff --git a/pwn-ubuntu_22.04/Dockerfile b/pwn-ubuntu_22.04/Dockerfile index 60505f2..04502d9 100644 --- a/pwn-ubuntu_22.04/Dockerfile +++ b/pwn-ubuntu_22.04/Dockerfile @@ -48,8 +48,7 @@ RUN chown -R root:ctf /home/ctf && \ touch /home/ctf/flag && \ chmod 744 /home/ctf/flag -# [可选]指定对外暴露端口,对于GZCTF等平台,强制EXPOSE可能会造成非预期端口泄露,请酌情启用 -# EXPOSE 9999 +EXPOSE 9999 # 指定容器入口点 ENTRYPOINT ["/bin/bash","/docker-entrypoint.sh"] diff --git a/web-flask-python_3.10/Dockerfile b/web-flask-python_3.10/Dockerfile index 76526fa..7d7fac2 100644 --- a/web-flask-python_3.10/Dockerfile +++ b/web-flask-python_3.10/Dockerfile @@ -16,8 +16,7 @@ RUN python3 -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple \ COPY ./src/ /app COPY ./service/docker-entrypoint.sh / -# [可选]指定对外暴露端口,对于GZCTF等平台,强制EXPOSE可能会造成非预期端口泄露,请酌情启用 -# EXPOSE 8080 +EXPOSE 8080 # 指定容器入口点 ENTRYPOINT ["/bin/bash","/docker-entrypoint.sh"] \ No newline at end of file diff --git a/web-flask-python_3.8/Dockerfile b/web-flask-python_3.8/Dockerfile index d5d6ca2..709b9d3 100644 --- a/web-flask-python_3.8/Dockerfile +++ b/web-flask-python_3.8/Dockerfile @@ -16,8 +16,7 @@ RUN python3 -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple \ COPY ./src/ /app COPY ./service/docker-entrypoint.sh / -# [可选]指定对外暴露端口,对于GZCTF等平台,强制EXPOSE可能会造成非预期端口泄露,请酌情启用 -# EXPOSE 8080 +EXPOSE 8080 # 指定容器入口点 ENTRYPOINT ["/bin/bash","/docker-entrypoint.sh"] \ No newline at end of file diff --git a/web-java-openjdk8/Dockerfile b/web-java-openjdk8/Dockerfile index 47ff0df..14e3c7b 100644 --- a/web-java-openjdk8/Dockerfile +++ b/web-java-openjdk8/Dockerfile @@ -7,8 +7,7 @@ LABEL auther_template="CTF-Archives" COPY ./src /app COPY ./service/docker-entrypoint.sh /docker-entrypoint.sh -# [可选]指定对外暴露端口,对于GZCTF等平台,强制EXPOSE可能会造成非预期端口泄露,请酌情启用 -# 开放的端口取决于服务,一般为8080 +开放的端口取决于服务,一般为8080 # EXPOSE 8080 # 指定容器入口点 diff --git a/web-lamp-php80/Dockerfile b/web-lamp-php80/Dockerfile index edad177..b84dbbd 100644 --- a/web-lamp-php80/Dockerfile +++ b/web-lamp-php80/Dockerfile @@ -47,7 +47,6 @@ RUN sh -c 'mysqld_safe &' \ # 设置shell的工作目录 WORKDIR /var/www/html -# # [可选]指定对外暴露端口,对于GZCTF等平台,强制EXPOSE可能会造成非预期端口泄露,请酌情启用 # # EXPOSE 80 # 设置nginx日志保存目录 diff --git a/web-lnmp-php73/Dockerfile b/web-lnmp-php73/Dockerfile index 0ea2c22..8fcd1d5 100644 --- a/web-lnmp-php73/Dockerfile +++ b/web-lnmp-php73/Dockerfile @@ -43,8 +43,7 @@ RUN sh -c 'mysqld_safe &' \ # 设置shell的工作目录 WORKDIR /var/www/html -# [可选]指定对外暴露端口,对于GZCTF等平台,强制EXPOSE可能会造成非预期端口泄露,请酌情启用 -# EXPOSE 80 +EXPOSE 80 # 设置nginx日志保存目录 VOLUME ["/var/log/nginx"] diff --git a/web-nginx-php73/Dockerfile b/web-nginx-php73/Dockerfile index a8b8f02..029a887 100644 --- a/web-nginx-php73/Dockerfile +++ b/web-nginx-php73/Dockerfile @@ -23,8 +23,7 @@ RUN chown -R www-data:www-data /var/www/html # 设置shell的工作目录 WORKDIR /var/www/html -# [可选]指定对外暴露端口,对于GZCTF等平台,强制EXPOSE可能会造成非预期端口泄露,请酌情启用 -# EXPOSE 80 +EXPOSE 80 # 设置nginx日志保存目录 VOLUME ["/var/log/nginx"]