-
Notifications
You must be signed in to change notification settings - Fork 189
Install script fails most of the time #604
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Have a dockerfile that fails intermittently (3 out of 4 times) attempting to install opengrep from script:
Have seen it locally to on Mac.
To Reproduce
FROM python:3.13-alpine
RUN apk update && \
apk add curl openjdk21-jdk bash cosign
WORKDIR /usr/app
SHELL ["/bin/bash", "-c"]
RUN curl -fsSL https://raw.githubusercontent.com/opengrep/opengrep/main/install.sh | bash
ENV PATH='/root/.opengrep/cli/latest':$PATH
RUN opengrep --version
Have attempted to download the script too - to take network issues out of the mix - same flaky results:
RUN curl -Lo /tmp/install.sh https://raw.githubusercontent.com/opengrep/opengrep/main/install.sh
RUN chmod +x /tmp/install.sh
RUN /tmp/install.sh
ENV PATH='/root/.opengrep/cli/latest':$PATH
RUN opengrep --version
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working