Quick-start: remove ansible Dockerfile
It takes a long time to install ansible, but we have it installed already in the zuul image (for the executor). Just use that instead. Change-Id: I2dc2d6f5e5e83bb0654c45b27b8d37dc161f7841
This commit is contained in:
parent
20b2c01e99
commit
c445de655a
|
@ -1,3 +0,0 @@
|
|||
FROM python:alpine
|
||||
|
||||
RUN apk add --no-cache openssh git build-base openssl-dev libffi-dev bash && pip install ansible
|
|
@ -9,13 +9,7 @@ services:
|
|||
- "8080:8080"
|
||||
- "29418:29418"
|
||||
gerritconfig:
|
||||
build:
|
||||
dockerfile: ansible-Dockerfile
|
||||
context: ./
|
||||
args:
|
||||
http_proxy: "${http_proxy}"
|
||||
https_proxy: "${http_proxy}"
|
||||
no_proxy: "${no_proxy}"
|
||||
image: zuul/zuul
|
||||
environment:
|
||||
no_proxy: "${no_proxy},gerrit"
|
||||
depends_on:
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
status_code: 201
|
||||
- name: Create initial commit in {{ project }}
|
||||
shell:
|
||||
executable: /bin/bash
|
||||
executable: /bin/sh
|
||||
chdir: "{{ project_tmp.stdout }}"
|
||||
cmd: |
|
||||
git init .
|
||||
|
|
Loading…
Reference in New Issue