File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 github_token : ${{ secrets.github_token }}
1919 locale : " US"
2020 pattern : " *.md"
21+ filter_mode : nofilter
Original file line number Diff line number Diff line change 1- FROM debian:bullseye-slim @sha256:2f2307d7c75315ca7561e17a4e3aa95d58837f326954af08514044e8286e6d65
1+ FROM golang:1.23-alpine @sha256:9a425d78a8257fc92d41ad979d38cb54005bac3fdefbdadde868e004eccbb898
22
33ENV REVIEWDOG_VERSION=v0.20.3
44
5- RUN apt-get update \
6- && apt-get install -y --no-install-recommends \
5+ RUN apk add --no-cache \
76 ca-certificates \
87 git \
98 wget \
109 curl \
11- && apt-get clean \
12- && rm -rf /var/lib/apt/lists/*
10+ bash
11+
12+ RUN git clone --depth 1 --branch ${REVIEWDOG_VERSION} https://github.com/reviewdog/reviewdog.git /reviewdog \
13+ && cd /reviewdog \
14+ && go mod edit -require=golang.org/x/crypto@v0.35.0 \
15+ && go mod tidy \
16+ && CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o reviewdog ./cmd/reviewdog \
17+ && mv reviewdog /usr/local/bin/reviewdog \
18+ && cd / \
19+ && rm -rf /reviewdog /go/pkg /root/.cache /root/go
1320
14- RUN wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/fd59714416d6d9a1c0692d872e38e7f8448df4fc/install.sh| sh -s -- -b /usr/local/bin/ ${REVIEWDOG_VERSION}
1521RUN wget -O - -q https://raw.githubusercontent.com/golangci/misspell/master/install-misspell.sh | sh -s -- -b /usr/local/bin/
1622
1723COPY entrypoint.sh /entrypoint.sh
1824
19- ENTRYPOINT ["/entrypoint.sh" ]
25+ ENTRYPOINT ["/entrypoint.sh" ]
You can’t perform that action at this time.
0 commit comments