Skip to content
This repository has been archived by the owner on Mar 23, 2019. It is now read-only.

Add conductor environment during build #689

Merged
merged 2 commits into from
Aug 10, 2017

Conversation

chouseknecht
Copy link
Contributor

@chouseknecht chouseknecht commented Aug 10, 2017

ISSUE TYPE
  • New feature
SUMMARY

Closes #566

Adds conductor environment variables defined in container.yml to the conductor image. Given the following in container.yml:

version: "2"
settings:

  conductor:
    base: centos:7
    environment:
      http_proxy: http://my.proxy.server:8000
      https_proxy: https://my.proxy.server:84300

  project_name: tstenv

The following ENV statements get added to the build Dockerfile:

Step 1/14 : FROM centos:7
 ---> 328edcd84f1b
Step 2/14 : ENV ANSIBLE_CONTAINER 1
 ---> Using cache
 ---> 2066daf83ee0
Step 3/14 : ENV http_proxy http://my.proxy.server:8000
 ---> Running in 9a36c1421e69
 ---> 892f46c876ef
Removing intermediate container 9a36c1421e69
Step 4/14 : ENV https_proxy https://my.proxy.server:84300
 ---> Running in 707d5fa56a08
 ---> 249df1272120

@chouseknecht chouseknecht merged commit 527e514 into ansible:develop Aug 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant