Skip to content

Commit 257dd66

Browse files
committed
Use scancode-reindex-licenses to generate index
The `--reindex-licenses` flag has been removed from the main `scancode` executable into the separate subcommand `scancode-reindex-licenses`. Signed-off-by: Abhishek Kumar <abhi.kr.2100@gmail.com>
1 parent 6ec13a2 commit 257dd66

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ WORKDIR /scancode-toolkit
3737
# Copy sources into docker container
3838
COPY . /scancode-toolkit
3939

40-
# Run scancode once for initial configuration, with
41-
# --reindex-licenses to create the base license index
42-
RUN ./scancode --reindex-licenses
40+
# Run scancode-reindex-licenses once for initial configuration and to create
41+
# the base license index
42+
RUN ./scancode-reindex-licenses
4343

4444
# Add scancode to path
4545
ENV PATH=/scancode-toolkit:$PATH

0 commit comments

Comments
 (0)