Coder Social home page Coder Social logo

mikes1988 / devops-utils Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gimoh/devops-utils

0.0 2.0 0.0 187 KB

Docker image containing a set of utilities handy in a devops style environment

License: GNU General Public License v3.0

Python 100.00%

devops-utils's Introduction

Build Status Coverage Status Documentation Status

devops-utils

Docker image containing a set of utilities handy in a devops style environment.

Full documentation can be found on RTFD.

Features

  • built in utilities:
  • external runner which wraps docker run to make it look like the utilities are installed on the host
  • extensible startup process allowing derived images to customise options and the runtime environment

Installation

The image can be run directly, but also contains an external runner program that wraps the docker run invocation to expose the utilities directly. Running the image with install parameter and a host directory mounted on /target will install the runner and appropriate links:

docker run -v $HOME/.local/bin:/target --rm gimoh/devops-utils install

Replace $HOME/.local/bin with a directory where you want to place the runner.

See docs for more details.

Usage

First usage scenario is when you build a derived image containing your source (e.g. Ansible playbooks, etc.). An example Dockerfile:

FROM gimoh/devops-utils

ADD . /opt/app
WORKDIR /opt/app

The second usage scenario is when you want to use your development tree as source. This may be done with either the original or derived image:

devops-utils ++dev ansible-playbook -i hosts.ini your-playbook.yml
# or
ansible-playbook ++dev -i hosts.ini your-playbook.yml

Check all available runner options with:

devops-utils ++help

When using a derived image, the options, environment and startup process can be customised.

See docs for more details.

devops-utils's People

Contributors

gimoh avatar

Watchers

James Cloos avatar Michael Edwards avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.