-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-alias.yml
34 lines (31 loc) · 930 Bytes
/
docker-alias.yml
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
volumes:
bindfs:
driver: lebokus/bindfs:latest
driver_opts:
sourcePath: "$YAML_LOCATION_DIR"
map: "$UID/0:@$UID/@0"
containers:
python:
image: registry.gitlab.com/clecherbauer/docker-images/python:3.8-debian-bullseye
volumes:
- $YAML_LOCATION_DIR:$DEFAULT_WORKING_DIR
- $SSH_AUTH_SOCK:/ssh-auth.sock
commands:
- python
- pip3
- flake8
- pyinstaller:
path: $DEFAULT_WORKING_DIR/.pydeps/bin/pyinstaller
environment:
- SSH_AUTH_SOCK=/ssh-auth.sock
- PYTHONPATH=$DEFAULT_WORKING_DIR/.pydeps
- PATH=$DEFAULT_WORKING_DIR/.pydeps/bin:\$PATH
user: "$UID"
pyinstaller-windows:
image: registry.gitlab.com/clecherbauer/docker-images/pyinstaller-windows:python-3.8-ubuntu-20.04
volumes:
- bindfs:$DEFAULT_WORKING_DIR
commands:
- pyinstaller-windows
environment:
- REQUIREMENTS_TXT=requirements.txt