mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2024-11-10 06:54:45 +00:00
switch docker image to python:slim,
move requirements.txt to .devcontainer/
This commit is contained in:
parent
15f95b778b
commit
427a37e514
@ -1,7 +1,6 @@
|
|||||||
FROM ubuntu:20.04
|
FROM python:slim
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
RUN apt-get -y update
|
RUN apt-get -y update; apt-get -y upgrade
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata
|
RUN apt-get -y install git
|
||||||
RUN apt-get install -y python3 python3-dev git python3-pip python3-kivy python-is-python3 libgl1-mesa-dev build-essential
|
COPY requirements.txt .
|
||||||
RUN ln -s $(which pip3) /usr/bin/pip
|
RUN pip install -r requirements.txt
|
||||||
RUN pip install pymongo pandas numpy scipy scikit-learn matplotlib pylint kivy
|
|
@ -1,2 +0,0 @@
|
|||||||
FROM titanscout2022/tra-analysis-base:latest
|
|
||||||
WORKDIR /
|
|
@ -1,23 +1,15 @@
|
|||||||
{
|
{
|
||||||
"name": "TRA Analysis Development Environment",
|
"name": "TRA Analysis Development Environment",
|
||||||
"build": {
|
"build": {
|
||||||
"dockerfile": "dev-dockerfile",
|
"dockerfile": "Dockerfile",
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"terminal.integrated.shell.linux": "/bin/bash",
|
"terminal.integrated.shell.linux": "/bin/bash",
|
||||||
"python.pythonPath": "/usr/local/bin/python",
|
"python.pythonPath": "",
|
||||||
"python.linting.enabled": true,
|
"python.linting.enabled": true,
|
||||||
"python.linting.pylintEnabled": true,
|
"python.linting.pylintEnabled": true,
|
||||||
"python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8",
|
"python.linting.pylintPath": "",
|
||||||
"python.formatting.blackPath": "/usr/local/py-utils/bin/black",
|
"python.testing.pytestPath": "",
|
||||||
"python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf",
|
|
||||||
"python.linting.banditPath": "/usr/local/py-utils/bin/bandit",
|
|
||||||
"python.linting.flake8Path": "/usr/local/py-utils/bin/flake8",
|
|
||||||
"python.linting.mypyPath": "/usr/local/py-utils/bin/mypy",
|
|
||||||
"python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle",
|
|
||||||
"python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle",
|
|
||||||
"python.linting.pylintPath": "/usr/local/bin/pylint",
|
|
||||||
"python.testing.pytestPath": "/usr/local/py-utils/bin/pytest",
|
|
||||||
"editor.tabSize": 4,
|
"editor.tabSize": 4,
|
||||||
"editor.insertSpaces": false
|
"editor.insertSpaces": false
|
||||||
},
|
},
|
||||||
@ -26,5 +18,5 @@
|
|||||||
"ms-python.python",
|
"ms-python.python",
|
||||||
"waderyan.gitblame"
|
"waderyan.gitblame"
|
||||||
],
|
],
|
||||||
"postCreateCommand": "/usr/bin/pip3 install -r ${containerWorkspaceFolder}/src/requirements.txt && /usr/bin/pip3 install --no-cache-dir pylint && /usr/bin/pip3 install pytest"
|
"postCreateCommand": ""
|
||||||
}
|
}
|
@ -1,19 +1,15 @@
|
|||||||
requests
|
|
||||||
pymongo
|
|
||||||
tra-analysis
|
|
||||||
|
|
||||||
dnspython
|
|
||||||
pyinstaller
|
|
||||||
|
|
||||||
numpy
|
|
||||||
scipy
|
|
||||||
scikit-learn
|
|
||||||
six
|
|
||||||
pyparsing
|
|
||||||
|
|
||||||
kivy==2.0.0rc2
|
|
||||||
|
|
||||||
pyzmq
|
|
||||||
python-daemon
|
|
||||||
|
|
||||||
cerberus
|
cerberus
|
||||||
|
dnspython
|
||||||
|
numpy
|
||||||
|
pyinstaller
|
||||||
|
pylint
|
||||||
|
pymongo
|
||||||
|
pyparsing
|
||||||
|
pytest
|
||||||
|
python-daemon
|
||||||
|
pyzmq
|
||||||
|
requests
|
||||||
|
scikit-learn
|
||||||
|
scipy
|
||||||
|
six
|
||||||
|
tra-analysis
|
Loading…
Reference in New Issue
Block a user