浏览代码

[Dockerfile] Symlink git-annex-shell to /bin

Achilleas Koutsou 6 年之前
父节点
当前提交
2fe304c68e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Dockerfile

+ 1 - 0
Dockerfile

@@ -31,6 +31,7 @@ RUN apk add --no-cache git openssh curl
 RUN curl -Lo /git-annex/git-annex-standalone-amd64.tar.gz https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-amd64.tar.gz
 RUN curl -Lo /git-annex/git-annex-standalone-amd64.tar.gz https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-amd64.tar.gz
 RUN cd /git-annex && tar -xzf git-annex-standalone-amd64.tar.gz && rm git-annex-standalone-amd64.tar.gz
 RUN cd /git-annex && tar -xzf git-annex-standalone-amd64.tar.gz && rm git-annex-standalone-amd64.tar.gz
 RUN apk del --no-cache curl
 RUN apk del --no-cache curl
+RUN ln -s /git-annex/git-annex.linux/git-annex-shell /bin/git-annex-shell
 
 
 ENV GOGS_CUSTOM /data/gogs
 ENV GOGS_CUSTOM /data/gogs