-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
61 lines (61 loc) · 1.26 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#
# This compose builds base ML images for development and testing.
#
version: "3.9"
services:
#
# Base and development containers.
#
base: &base
build:
context: .
dockerfile: py310-debian.dockerfile
volumes:
- .:/home/jupyter
environment:
TERM: linux
cap_add:
- SYS_PTRACE
debian: &debian
<<: *base
debian-test:
image: ml-playground_debian
user: ${UID}
environment:
TERM: linux
cap_add:
- SYS_PTRACE
volumes: []
entrypoint: ["jupyter", "--help"]
spacy: &spacy
<<: *base
build:
context: .
dockerfile: py310-spacy.dockerfile
spacy-test:
image: ml-playground_spacy
user: ${UID}
environment:
TERM: linux
cap_add:
- SYS_PTRACE
volumes: []
entrypoint: ["jupyter", "--help"]
test:
<<: *base
environment:
TERM: linux
VIRTUALENV_SYSTEM_SITE_PACKAGES: "True"
command: ["tox", "-e", "py3"]
super-linter:
image: github/super-linter:v3.15.5
environment:
- RUN_LOCAL=true
- VALIDATE_MARKDOWN=false
- VALIDATE_PYTHON_ISORT=false
- VALIDATE_XML=false
- VALIDATE_NATURAL_LANGUAGE=false
- IGNORE_GITIGNORED_FILES=true
volumes:
- .:/tmp/lint/
- ./tox.ini:/action/lib/.automation/.flake8