alpine-code-server icon indicating copy to clipboard operation
alpine-code-server copied to clipboard

🛠 Make automatically recognize new versions

Open kimlulz opened this issue 8 months ago • 5 comments

  1. Changed git url https://github.com/cdr/code-server -> https://github.com/coder/code-server
  2. Added the process of checking the released latest version using Github API. So, It doesn't need to manually modify the version in the dockerfile.
      VERSION=$(curl -sX GET https://api.github.com/repos/coder/code-server/releases/latest \
wget https://github.com/coder/code-server/releases/download/v${VERSION}/code-server-${VERSION}-linux-amd64.tar.gz && \
tar x -zf code-server-${VERSION}-linux-amd64.tar.gz && \

Need to test, but i think it will work properly

kimlulz avatar Jun 18 '24 13:06 kimlulz