Skip to content

Commit 03b959e

Browse files
committed
fix building docker container
1 parent e507b6e commit 03b959e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ RUN apt update && apt install -y clang-16
66
RUN ln -sf /usr/bin/clang-16 /usr/bin/clang && ln -sf /usr/bin/clang++-16 /usr/bin/clang++
77
RUN git clone https://github.com/alliedmodders/ambuild
88
RUN cd ambuild && python setup.py install && cd ..
9-
RUN git clone --recurse-submodules -b k/sourcehook_alternative https://github.com/alliedmodders/metamod-source
9+
RUN git clone -b k/sourcehook_alternative https://github.com/alliedmodders/metamod-source
10+
# no recursive submodules, steamrt3 doesn't support ssh checkout
11+
RUN cd metamod-source && git submodule update --init && cd ..
1012
RUN git config --global --add safe.directory /app
1113

1214
COPY ./docker-entrypoint.sh ./

0 commit comments

Comments
 (0)