In the Dockerfile, there are the below lines:
# Commit from SpiderLabs/ModSecurity repository, aiming at v3/dev/wasm-experimental branch
ARG MODSEC_SHA=a3454df9b09a8de16d41be10cdea4fc46ef08e91
WORKDIR /root/
RUN git clone https://github.com/emscripten-core/emsdk.git -b 3.1.16 \
&& git clone https://github.com/M4tteoP/libpcre.git -b wasm-emscripten \
&& git clone https://github.com/SpiderLabs/ModSecurity.git \
&& git -C ModSecurity checkout $MODSEC_SHA \
The tag a3454df9b09a8de16d41be10cdea4fc46ef08e91 is not pointing to the ModSecurity v3/dev/wasm-experimental branch. Any specific reason?
>git -C ModSecurity checkout a3454df9b09a8de16d41be10cdea4fc46ef08e91
Note: switching to 'a3454df9b09a8de16d41be10cdea4fc46ef08e91'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.