1
1
mirror of https://github.com/tstack/lnav.git synced 2024-09-11 13:05:51 +03:00

Revert "[build] Use cURL instaed of git to get lnav from the repository."

This reverts commit 3f33d9d17a.
This commit is contained in:
Suresh Sundriyal 2023-08-03 01:00:37 -07:00
parent 512e04bea7
commit 7e9bdfbfcd
2 changed files with 4 additions and 6 deletions

View File

@ -173,7 +173,8 @@ LABEL com.github.actions.color="orange"
RUN apk add --no-cache \
autoconf \
automake \
build-base
build-base \
git
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

View File

@ -3,11 +3,8 @@
set -Eeuxo pipefail
if [ -z ${GITHUB_WORKSPACE:-} ]; then
mkdir -p /lnav
cd /lnav
/fake.root/bin/curl -sSL \
https://github.com/tstack/lnav/archive/refs/heads/master.tar.gz | \
tar xvz --strip-components 1
git clone --depth 1 https://github.com/tstack/lnav.git
cd lnav
else
cd ${GITHUB_WORKSPACE}
fi