Giter VIP home page Giter VIP logo

chef's Introduction

inspec

Builds a set of Docker images that include InSpec for use on Learn Chef.

InSpec users don't need to interact with this project. The Chef Training Team will occasionally publish newer images to DockerHub.

Catalog

Here are the modules that each set of systems maps to.

Build

Build each image you need locally. For example, for Try InSpec:

pushd workstation
chmod u+x build.sh
./build.sh learnchef
popd
pushd target
chmod u+x build.sh
./build.sh learnchef
popd

Test

Verify the images were built successfully.

$ docker images | grep inspec_
learnchef/inspec_workstation                1.50.1                  10cf4fa96cc8        29 seconds ago      765MB
learnchef/inspec_workstation                latest                  10cf4fa96cc8        29 seconds ago      765MB
inspec_workstation                          latest                  10cf4fa96cc8        29 seconds ago      765MB
learnchef/inspec_target                     latest                  135ca3edb6cc        9 hours ago         217MB
inspec_target                               latest                  135ca3edb6cc        9 hours ago         217MB

Optionally, run the Docker Compose file and test out some commands.

$ docker-compose up -d
$ docker exec -it workstation bash
< run your test commands >
$ exit
$ docker-compose down

Deploy

Push the images you need up to DockerHub. For example, for Try InSpec:

First, run docker login. Then run:

pushd workstation
chmod u+x deploy.sh
./deploy.sh learnchef
popd
pushd target
chmod u+x deploy.sh
./deploy.sh learnchef
popd

chef's People

Watchers

John Fitzpatrick avatar James Cloos avatar John McCrae avatar Thomas Petchel avatar GringoLoco avatar  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.