Skip to content

Commit 4c0e2b0

Browse files
roypatzulinx86
authored andcommitted
devctr: install git-secrets
So that we can add it to checkstyle and remove the old pre-commit hook once and for all. Signed-off-by: Patrick Roy <[email protected]>
1 parent 7560612 commit 4c0e2b0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tools/devctr/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@ ENV PATH=$VENV/bin:$PATH
102102
# apt-get installs it globally, to manually copy it into the venv
103103
RUN cp /usr/lib/python3/dist-packages/seccomp.cpython-312-"$ARCH"-linux-gnu.so "$VENV"/lib/python3.12/site-packages/
104104

105+
RUN git clone https://github.com/awslabs/git-secrets /tmp/git-secrets \
106+
&& cd /tmp/git-secrets \
107+
&& make install \
108+
&& cd - \
109+
&& rm -rf /tmp/git-secrets
110+
105111
# Running the three as a single dockerfile command to avoid inflation of the image:
106112
# - Install the Rust toolchain.
107113
# - Kani always installs _some_ nightly toolchain, we reuse it for the seccomp filter analysis test. Dynamically

0 commit comments

Comments
 (0)