Skip to content

Commit

Permalink
remove kernel version for now
Browse files Browse the repository at this point in the history
  • Loading branch information
liuwen committed Nov 2, 2024
1 parent c9bbc89 commit 60693da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion singbox/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ENV TCP_BRUTAL_REPO="https://github.com/apernet/tcp-brutal"
ENV SINGBOX_VERSION="latest"

# Fetch the latest release version of tcp-brutal
RUN TCP_BRUTAL_VERSION=$(curl -s https://api.github.com/repos/apernet/tcp-brutal/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")') && \
RUN TCP_BRUTAL_VERSION=$(curl -s https://api.github.com/repos/apernet/tcp-brutal/releases/latest | sed -n 's/.*"tag_name": "\(.*\)".*/\1/p') && \
echo "Latest tcp-brutal version: $TCP_BRUTAL_VERSION" && \
echo "TCP_BRUTAL_VERSION=${TCP_BRUTAL_VERSION#v}" >> /etc/environment

Expand Down

0 comments on commit 60693da

Please sign in to comment.