File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM eclipse-temurin:17.0.6_10-jre
22
33RUN apt-get update && apt-get install --no-install-recommends -y ca-certificates wget unzip curl bash jq && rm -rf /var/lib/apt/lists/*
4- RUN mkdir -p /opt
54
65RUN cd /opt \
76 && export PMD_URL=$(curl --silent https://api.github.com/repos/pmd/pmd/releases/latest | jq '.assets[] | select(.name | contains("pmd-bin-") and contains(".zip")) | .browser_download_url' | sed -e 's/^"//' -e 's/"$//' ) \
87 && wget -nc -O pmd.zip ${PMD_URL} \
98 && unzip pmd.zip \
109 && rm pmd.zip \
11- && mv pmd-bin* pmd
10+ && mv pmd-bin* pmd \
11+ && chmod -R +x pmd
1212
1313RUN cd /opt \
1414 && export CS_URL=$(curl --silent https://api.github.com/repos/checkstyle/checkstyle/releases/latest | jq '.assets[] | select(.name | contains("checkstyle-") and contains(".jar")) | .browser_download_url' | sed -e 's/^"//' -e 's/"$//' ) \
You can’t perform that action at this time.
0 commit comments