Skip to content

Commit

Permalink
cleanup(dockerfile): sysctl -p不生效,先删除
Browse files Browse the repository at this point in the history
  • Loading branch information
xuyanling committed Sep 8, 2023
1 parent bd173f7 commit 6334bbd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
1 change: 0 additions & 1 deletion docker/debian.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
Expand Down

0 comments on commit 6334bbd

Please sign in to comment.