You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Run scancode once for initial configuration, with --reindex-licenses to create the base license index
39
-
RUN ./scancode --reindex-licenses
40
-
41
-
# Add scancode to path
42
-
ENV PATH=$HOME/scancode-toolkit:$PATH
43
-
44
-
# Set entrypoint to be the scancode command, allows to run the generated docker image directly with the scancode arguments: `docker run (...) <containername> <scancode arguments>`
45
-
ENTRYPOINT ["./scancode"]
1
+
#
2
+
# Copyright (c) nexB Inc. and others. All rights reserved.
3
+
# SPDX-License-Identifier: Apache-2.0 AND CC-BY-4.0
4
+
#
5
+
# Visit https://aboutcode.org and https://github.com/nexB/scancode-toolkit for
6
+
# support and download. ScanCode is a trademark of nexB Inc.
7
+
#
8
+
# The ScanCode software is licensed under the Apache License version 2.0.
9
+
# The ScanCode open data is licensed under CC-BY-4.0.
10
+
#
11
+
# Licensed under the Apache License, Version 2.0 (the "License");
12
+
# you may not use this file except in compliance with the License.
13
+
# You may obtain a copy of the License at
14
+
#
15
+
# http://www.apache.org/licenses/LICENSE-2.0
16
+
#
17
+
# Unless required by applicable law or agreed to in writing, software
18
+
# distributed under the License is distributed on an "AS IS" BASIS,
19
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
+
# See the License for the specific language governing permissions and
21
+
# limitations under the License.
22
+
#
23
+
24
+
FROM python:3.6
25
+
26
+
# Requirements as per https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html
# Run scancode once for initial configuration, with --reindex-licenses to create the base license index
41
+
RUN ./scancode --reindex-licenses
42
+
43
+
# Add scancode to path
44
+
ENV PATH=$HOME/scancode-toolkit:$PATH
45
+
46
+
# Set entrypoint to be the scancode command, allows to run the generated docker image directly with the scancode arguments: `docker run (...) <containername> <scancode arguments>`
0 commit comments