-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bash change prefix; lf default autoquit; curl add zstd
Signed-off-by: ladyrick <ladyrick@qq.com>
- Loading branch information
Showing
4 changed files
with
15 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
ARG arch=amd64 | ||
FROM static-tools:build-base-$arch | ||
ARG proxy= | ||
|
||
RUN apk add go | ||
|
||
# https://github.com/gokcehan/lf/releases | ||
RUN all_proxy=$proxy curl -sL https://github.com/gokcehan/lf/archive/refs/tags/r32.tar.gz | tar zxvf - | ||
|
||
RUN cd lf-* \ | ||
&& sed -i 's/autoquit = false/autoquit = true/g' opts.go \ | ||
&& HTTPS_PROXY=$proxy CGO_ENABLED=0 go build && /collect.sh lf |