From 91a2ad7b975584d1a905baaeb50056026ad5ab01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=B0=8F=E7=99=BD?= <296015668@qq.com> Date: Mon, 16 Sep 2024 10:15:47 +0800 Subject: [PATCH] fix: usql binary decompression parameter error --- .github/workflows/golangci-lint.yml | 2 ++ Dockerfile-base | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 1d67bdec..d15e192d 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -17,6 +17,8 @@ jobs: with: go-version: 1.22 - uses: actions/checkout@v4 + - name: Create ui/dist directory + run: mkdir -p ui/dist - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: diff --git a/Dockerfile-base b/Dockerfile-base index c0f3ef9a..73d7a477 100644 --- a/Dockerfile-base +++ b/Dockerfile-base @@ -33,7 +33,7 @@ RUN set -ex \ && wget https://github.com/jumpserver-dev/healthcheck/releases/download/${CHECK_VERSION}/check-${CHECK_VERSION}-linux-${TARGETARCH}.tar.gz \ && tar -xf check-${CHECK_VERSION}-linux-${TARGETARCH}.tar.gz -C /opt/koko/bin/ \ && wget https://github.com/jumpserver-dev/usql/releases/download/${USQL_VERSION}/usql-${USQL_VERSION}-linux-${TARGETARCH}.tar.gz \ - && tar -xf usql-${USQL_VERSION}-linux-${TARGETARCH}.tar.gz --strip-components=1 -C /opt/koko/bin/ \ + && tar -xf usql-${USQL_VERSION}-linux-${TARGETARCH}.tar.gz -C /opt/koko/bin/ \ && wget -O /opt/koko/.kubectl_aliases https://github.com/ahmetb/kubectl-aliases/raw/master/.kubectl_aliases \ && chmod 755 /opt/koko/bin/* \ && chown root:root /opt/koko/bin/* \