Skip to content

Commit bc617f2

Browse files
committed
added docker file
Signed-off-by: Pratik Dey <pratikrocks.dey11@gmail.com>
1 parent a095146 commit bc617f2

3 files changed

Lines changed: 137 additions & 0 deletions

File tree

.dockerignore

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# Python compiled files
2+
*.py[cod]
3+
4+
# virtualenv and other misc bits
5+
*.egg-info
6+
/dist
7+
/build
8+
/bin
9+
/lib
10+
/scripts
11+
/Scripts
12+
/Lib
13+
/pip-selfcheck.json
14+
/tmp
15+
.Python
16+
/include
17+
/Include
18+
/local
19+
*/local/*
20+
/local/
21+
/share/
22+
/tcl/
23+
/.eggs/
24+
25+
# Installer logs
26+
pip-log.txt
27+
28+
# Unit test / coverage reports
29+
.cache
30+
.coverage
31+
.coverage.*
32+
nosetests.xml
33+
htmlcov
34+
35+
# Translations
36+
*.mo
37+
38+
# IDEs
39+
.project
40+
.pydevproject
41+
.idea
42+
org.eclipse.core.resources.prefs
43+
.vscode
44+
.vs
45+
46+
# Sphinx
47+
docs/_build
48+
docs/bin
49+
docs/build
50+
docs/include
51+
docs/Lib
52+
doc/pyvenv.cfg
53+
pyvenv.cfg
54+
55+
# Various junk and temp files
56+
.DS_Store
57+
*~
58+
.*.sw[po]
59+
.build
60+
.ve
61+
*.bak
62+
/.cache/
63+
64+
# pyenv
65+
/.python-version
66+
/man/
67+
/.pytest_cache/
68+
lib64
69+
tcl
70+
71+
# Ignore Jupyter Notebook related temp files
72+
.ipynb_checkpoints/

Dockerfile

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
#
3+
# http://nexb.com and https://github.com/nexB/scancode.io
4+
# The ScanCode.io software is licensed under the Apache License version 2.0.
5+
# Data generated with ScanCode.io is provided as-is without warranties.
6+
# ScanCode is a trademark of nexB Inc.
7+
#
8+
# You may not use this software except in compliance with the License.
9+
# You may obtain a copy of the License at: http://apache.org/licenses/LICENSE-2.0
10+
# Unless required by applicable law or agreed to in writing, software distributed
11+
# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
12+
# CONDITIONS OF ANY KIND, either express or implied. See the License for the
13+
# specific language governing permissions and limitations under the License.
14+
#
15+
# Data Generated with ScanCode.io is provided on an "AS IS" BASIS, WITHOUT WARRANTIES
16+
# OR CONDITIONS OF ANY KIND, either express or implied. No content created from
17+
# ScanCode.io should be considered or used as legal advice. Consult an Attorney
18+
# for any legal advice.
19+
#
20+
# ScanCode.io is a free software code scanning tool from nexB Inc. and others.
21+
# Visit https://github.com/nexB/scancode.io for support and download.
22+
23+
FROM python:3.9
24+
25+
# Force unbuffered stdout and stderr (e.g. they are flushed to terminal immediately)
26+
ENV PYTHONUNBUFFERED 1
27+
28+
# Requirements as per https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html
29+
RUN apt-get update \
30+
&& apt-get install -y \
31+
&& apt-get clean \
32+
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
33+
34+
RUN mkdir /opt/deltacode/
35+
COPY . /opt/deltacode/
36+
WORKDIR /opt/deltacode/
37+
RUN ./configure

docker-compose.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
#
3+
# http://nexb.com and https://github.com/nexB/scancode.io
4+
# The ScanCode.io software is licensed under the Apache License version 2.0.
5+
# Data generated with ScanCode.io is provided as-is without warranties.
6+
# ScanCode is a trademark of nexB Inc.
7+
#
8+
# You may not use this software except in compliance with the License.
9+
# You may obtain a copy of the License at: http://apache.org/licenses/LICENSE-2.0
10+
# Unless required by applicable law or agreed to in writing, software distributed
11+
# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
12+
# CONDITIONS OF ANY KIND, either express or implied. See the License for the
13+
# specific language governing permissions and limitations under the License.
14+
#
15+
# Data Generated with ScanCode.io is provided on an "AS IS" BASIS, WITHOUT WARRANTIES
16+
# OR CONDITIONS OF ANY KIND, either express or implied. No content created from
17+
# ScanCode.io should be considered or used as legal advice. Consult an Attorney
18+
# for any legal advice.
19+
#
20+
# ScanCode.io is a free software code scanning tool from nexB Inc. and others.
21+
# Visit https://github.com/nexB/scancode.io for support and download.
22+
23+
version: "3"
24+
services:
25+
code:
26+
build: .
27+
volumes:
28+
- .:/opt/deltacode/

0 commit comments

Comments
 (0)