From 6334bbdb57c2cdcf9299dc22463a3181e9f7ce9f Mon Sep 17 00:00:00 2001 From: xuyanling Date: Fri, 8 Sep 2023 10:50:27 +0800 Subject: [PATCH] =?UTF-8?q?cleanup(dockerfile):=20sysctl=20-p=E4=B8=8D?= =?UTF-8?q?=E7=94=9F=E6=95=88=EF=BC=8C=E5=85=88=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/Dockerfile | 1 - docker/debian.Dockerfile | 1 - 2 files changed, 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index de2a781e..bb629709 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -51,7 +51,6 @@ RUN mkdir ${HOME} \ && git config --global pull.ff only \ && git clone -b master ${REPO_URL} ${WORKDIR} --depth=1 --recurse-submodule \ && git config --global --add safe.directory ${WORKDIR} -RUN sysctl -p 2>/dev/null || echo "You do not have sufficient permissions to run sysctl -p" COPY --chmod=755 ./rootfs / EXPOSE 3000 VOLUME ["/config"] diff --git a/docker/debian.Dockerfile b/docker/debian.Dockerfile index 5acb30cf..10786aec 100644 --- a/docker/debian.Dockerfile +++ b/docker/debian.Dockerfile @@ -71,7 +71,6 @@ RUN set -xe \ && git config --global pull.ff only \ && git clone -b master ${REPO_URL} ${WORKDIR} --depth=1 --recurse-submodule \ && git config --global --add safe.directory ${WORKDIR} -RUN sysctl -p 2>/dev/null || echo "You do not have sufficient permissions to run sysctl -p" COPY --chmod=755 ./rootfs / EXPOSE 3000 VOLUME [ "/config" ]