File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,14 +11,16 @@ function build() {
1111 BIN_DIR=" ${DATA_DIR} " /bin
1212 mkdir -p " ${BIN_DIR} "
1313 # geesefs
14- curl -sSL " https://github.com/yandex-cloud/geesefs/archive/refs/tags/v${STACK_VERSION} .tar.gz" | tar -xz \
15- && mv geesefs-${STACK_VERSION} $GOPATH /src/geesefs/ \
14+ # curl -sSL "https://github.com/yandex-cloud/geesefs/archive/refs/tags/v${STACK_VERSION}.tar.gz" | tar -xz \
15+ wget https://github.com/duanhongyi/geesefs/archive/refs/heads/master.zip \
16+ && unzip master.zip \
17+ && mv geesefs-master $GOPATH /src/geesefs/ \
1618 && cd $GOPATH /src/geesefs \
1719 && export GO111MODULE=on \
1820 && CGO_ENABLED=0 go build \
1921 -a -ldflags ' -extldflags "-static"' -o /bin/geesefs .
2022 mv /bin/geesefs " ${BIN_DIR} "
21-
23+ cd - && rm -rf master.zip
2224 # upx
2325 upx --lzma --best " ${BIN_DIR} " /*
2426}
You can’t perform that action at this time.
0 commit comments