|
@ -19,8 +19,8 @@ steps: |
|
|
- name: dockersock |
|
|
- name: dockersock |
|
|
path: /var/run/docker.sock |
|
|
path: /var/run/docker.sock |
|
|
commands: |
|
|
commands: |
|
|
# 构建镜像(你需要在项目中准备 scripts/Dockerfile.python) |
|
|
# 构建镜像 |
|
|
- docker build -t alert-python:latest -f Dockerfile.python . |
|
|
- docker build -t alert-python:latest -f Dockerfile . |
|
|
|
|
|
|
|
|
- name: run python container |
|
|
- name: run python container |
|
|
image: docker |
|
|
image: docker |
|
|