Name: docker-salt-formulas
Owner: Mirantis Inc.
Description: Dockerfile for container with pre-installed salt-formulas and ecosystem
Forked from: epcim/docker-salt-formulas
Created: 2018-05-11 13:21:49.0
Updated: 2018-05-14 14:35:20.0
Pushed: 2018-05-14 14:48:31.0
Homepage: null
Size: 124
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Predictive, layered - docker image builds with pre-installed salt, salt-formulas, ecosystem…
Images are available at docker hub:
NOTE: Once finished I count to move the repo under https://github.com/salt-formulas
Install:
# install from Pipenv[.lock]
pipenv --two
pippnv install
pipenv shell
# or alternatively with pip, ...
pip install dockermake pyinvoke
pip install -e "git+https://github.com/avirshup/DockerMake#egg=dockermake"
pip install -e "git+https://github.com/pyinvoke/invoke#egg=invoke"
inv --list
inv all --dry
inv all --dry-targets
# build whole matrix
inv all --push
inv all --push -w # warnings only: to survive on errors
# individual targets
# invoke [target] [--[args][=value]] [--push]
invoke all --dry-targets --filter "{'target':'saltstack', 'salt': 'stable'}"
invoke build wheelhouse --require "salt salt-formulas wheel" --dist=debian --dist-rel=stretch --salt=develop --formula-rev=nightly --push
Images are published on docker hu under epcim/salt
and build with a tag notation:
<target>-<distribution>-<distribution codename>[-salt-<salt version>[-formula-<formula version>]]
An example:
docker.io/epcim/salt:saltmaster-ubuntu-xenial-salt-stable-formula-nightly
I can easily switch to docker-hub organization and build images under it's own namespace with tags as it's more common (lates, date, version number).
In my use-case (CI) I am always interested in latest version of the containers in the upstream and I rather advise you to build or at least fetch your own copy and tag it yourself at you own repo and frequency as required.
Volumes:
TBD
Usage:
TBD
Target with pre-installed salt and common dependencies.
TBD
Target with pre-installed salt, formulas form gh:salt-formulas and gh:saltstack formulas (if duplicit then skipped, sources and the order is configurable). Tini serves salt-master process.
TBD
Target with pre-installed salt, formulas form gh:salt-formulas and gh:saltstack formulas (if duplicit then skipped, sources and the order is configurable). Reclass is installed form gh:salt-formulas/reclass and pre-configured. Tini serves salt-master process.
TBD