Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to specify build and runtime environment variables #33

Closed
fridex opened this issue Oct 10, 2018 · 0 comments
Closed

Add option to specify build and runtime environment variables #33

fridex opened this issue Oct 10, 2018 · 0 comments
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. triage/duplicate Indicates an issue is a duplicate of other open issue.

Comments

@fridex
Copy link
Contributor

fridex commented Oct 10, 2018

As an Amun user, I would like to have an ability to set environment variables that get injected into container on build time as well as environment variables that get injected on runtime. For this purpose we should introduce a separate configuration option in the JSON supplied on endpoint:

{
  "base": "fedora:28",
  "build": {
     "env": [
      {"name": "FOO", "value": "BAR"}
    ]
  },
  "run": {
     "env": [
      {"name": "BAZ", "value": "FOZ"}
    ]
  }
} 
@fridex fridex added triage/duplicate Indicates an issue is a duplicate of other open issue. good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. labels Oct 10, 2018
@ace2107 ace2107 self-assigned this Nov 2, 2018
@goern goern closed this as completed Oct 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. triage/duplicate Indicates an issue is a duplicate of other open issue.
Projects
None yet
Development

No branches or pull requests

3 participants