diff --git a/Dockerfile b/Dockerfile index e2a48f8..f9d43a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ ADD . /webui-aria2 # gosu install latest RUN GITHUB_REPO="https://github.com/tianon/gosu" \ - && LATEST=`curl -s $GITHUB_REPO"/releases/latest" | grep -Eo "[0-9].[0-9]"` \ + && LATEST=`curl -s $GITHUB_REPO"/releases/latest" | grep -Eo "[0-9].[0-9]*"` \ && curl -L $GITHUB_REPO"/releases/download/"$LATEST"/gosu-amd64" > /usr/local/bin/gosu \ && chmod +x /usr/local/bin/gosu