From 762e954019fcc68ffd08f07e1510ec504ad7411e Mon Sep 17 00:00:00 2001 From: Ben Zhang Date: Sat, 17 Feb 2024 07:26:14 +0000 Subject: [PATCH] Install sentry-cli --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1988f2f..6ff0f6d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,6 +35,7 @@ RUN apt-get update -y \ RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash && \ apt-get install -y --no-install-recommends git-lfs +# Install Docker Compose RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \ && echo "ARCH: $ARCH" \ && if [ "$ARCH" = "arm64" ]; then export ARCH=aarch64 ; fi \ @@ -46,6 +47,11 @@ RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \ && which docker-compose \ && docker compose version +# Install sentry-cli +RUN wget -q -O /usr/local/bin/sentry-cli https://github.com/getsentry/sentry-cli/releases/download/2.28.6/sentry-cli-Linux-x86_64 \ + && echo "790c1c4a0e59112d25b8efdf00211881851f4f33443c4e885df336d16b88b457 /usr/local/bin/sentry-cli" | sha256sum -c - \ + && chmod +x /usr/local/bin/sentry-cli + # Python packages get installed to ~/.local by default ENV PATH="${PATH}:/home/runner/.local/bin"