Skip to content

Commit

Permalink
Merge pull request #24 from PeterDaveHello/ImproveDockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
P-T-I authored Oct 4, 2021
2 parents 1555fcd + dcd3d08 commit 586d5c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/images/cve_search/dockerfile-cve_search
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ARG BRANCH

RUN echo "Using repo - branch: $REPO - $BRANCH"

RUN git clone -b $BRANCH --single-branch https://github.com/$REPO.git ./
RUN git clone -b $BRANCH --single-branch --depth=1 https://github.com/$REPO.git ./

# Install the dependencies
RUN pip install -r requirements.txt
Expand Down

0 comments on commit 586d5c4

Please sign in to comment.