I would like to renovate synopsys-detect dockerfile which looks like that:
FROM artifactory...alpine:3
RUN apk --no-cache add \
bash \
curl \
git \
openjdk11-jre \
py3-pip \
python3
ENV BDS_JAVA_HOME=/usr/lib/jvm/java-11-openjdk/jre
ENV DETECT_PYTHON_PATH=/usr/bin/python3.8
RUN curl -s -L https://detect.synopsys.com/detect8.sh > detect.sh
RUN chmod +x /detect.sh
RUN /detect.sh --help
RUN mkdir /src
WORKDIR /src
ENTRYPOINT [ "/detect.sh", "--blackduck.url=https://my-url" ]
So to use synopsys-detect in current up-to-date version(8) I need to specify that version in link and when new version will be available I need to do it again. I would like to use renovate.json
to deal with this problem in feature, but it's hard to figure out how it should look. I was thinking about specifying current version (8) and checking if response from https://detect.synopsys.com/detect9.sh
is ok and then use version higher, but I can't write logic in json file. Could somebody give and tips how it should looks like or if it's even possible?