Skip to content

Commit eac569c

Browse files
authored
ci: install typos-cli in locked mode for checkers builds (#15760)
1 parent acd2859 commit eac569c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ci/cloudbuild/dockerfiles/checkers.Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ ARG ARCH=amd64
2323

2424
RUN dnf makecache && \
2525
dnf install -y \
26-
cargo \
2726
cmake \
2827
clang-tools-extra \
2928
diffutils \
@@ -35,7 +34,11 @@ RUN dnf makecache && \
3534
python-pip \
3635
ShellCheck
3736

38-
RUN cargo install typos-cli --version 1.24.1 --root /usr/local
37+
RUN dnf makecache && \
38+
dnf install -y \
39+
cargo
40+
41+
RUN cargo install typos-cli --locked --version 1.24.1 --root /usr/local
3942

4043
RUN curl -L -o /usr/bin/buildifier https://github.com/bazelbuild/buildtools/releases/download/v6.4.0/buildifier-linux-amd64 && \
4144
chmod 755 /usr/bin/buildifier

0 commit comments

Comments
 (0)