We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4c7f71 commit be6d3e9Copy full SHA for be6d3e9
Dockerfile
@@ -1,6 +1,13 @@
1
FROM italia/publiccode-parser-go:v4.3.7
2
3
-RUN wget -O - https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s -- -b /usr/local/bin
+ARG REVIEWDOG_FILE=reviewdog_0.21.0_Linux_x86_64.tar.gz
4
+ARG REVIEWDOG_SHA256=ad5ce7d5ffa52aaa7ec8710a8fa764181b6cecaab843cc791e1cce1680381569
5
+
6
+RUN set -eux; \
7
+ wget -q "https://github.com/reviewdog/reviewdog/releases/download/v0.21.0/${REVIEWDOG_FILE}" \
8
+ && echo "${REVIEWDOG_SHA256} ${REVIEWDOG_FILE}" | sha256sum -c \
9
+ && tar -xzf ${REVIEWDOG_FILE} -C /usr/local/bin reviewdog
10
11
COPY entrypoint.sh /entrypoint.sh
12
13
ENTRYPOINT ["/entrypoint.sh"]
0 commit comments