From 3f4e2c5ada1050555775661f850e3a20d2933046 Mon Sep 17 00:00:00 2001 From: Andrew D. France Date: Wed, 23 Jul 2025 03:33:49 -0500 Subject: make was improperly being called inside the container on a project that is missing its dependencies in the lib/ directory, leading to a 'No rule to make target' error: updated Dockerfile to remove the submodule command at: ln:29: and: Jenkinsfile will use the git submodule sync command. This will ensure the agent's repository is correctly configured before fetching the submodule code: at: ln:9-17 --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 2577c04..e6dc2a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,5 @@ +# In Dockerfile + # Use a base image with build tools FROM ubuntu:22.04 @@ -24,11 +26,7 @@ WORKDIR /app COPY . . -# Initialize git submodules inside the container -RUN git submodule update --init --recursive - # Creates the .lush config directory in the root user home directory as install.sh expects. RUN mkdir -p /root/.lush && cp -r ./.lush/* /root/.lush/ CMD ["premake5", "gmake2"] - -- cgit v1.2.3-59-g8ed1b