Skip to content

Commit 03a561a

Browse files
committed
chore(geesefs): update geesefs
1 parent 27663d4 commit 03a561a

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

stacks/geesefs/build.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)