Skip to content

Commit be6d3e9

Browse files
authored
fix: pin reviewdog version (#26)
Fix #25.
1 parent f4c7f71 commit be6d3e9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
FROM italia/publiccode-parser-go:v4.3.7
22

3-
RUN wget -O - https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s -- -b /usr/local/bin
3+
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+
411
COPY entrypoint.sh /entrypoint.sh
512

613
ENTRYPOINT ["/entrypoint.sh"]

0 commit comments

Comments
 (0)