sudo apt update
sudo apt install autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm5 libgdbm-dev
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
source ~/.bashrc
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
rbenv install -l
rbenv install 2.6.4
https://github.com/inspec/inspec/issues/3689 (includes replication steps)
inspec/lib/resources/http.rb
- InSpec installed on your workstation
- Git installed on your workstation
- Fork https://github.com/dev-sec/nginx-baseline
I once famously said that Habitat and Kubernetes are like Peanut Butter and Jelly. Likewise, Habitat and InSpec are two fantastic tools that work wonderfully on their own, but work even better together. Everything is magical and wholesome.
InSpec has a Habitat integration which makes packaging and managing your InSpec profiles with Habitat effortless.
https://github.com/habitat-sh/habitat-aspnet-eff.git
choco install git
git clone https://github.com/habitat-sh/habitat-aspnet-eff
(if the above errors - run 'C:\Program Files\Git\bin\git.exe' clone https://github.com/habitat-sh/habitat-aspnet-eff)
cd habitat-aspnet-eff
hab studio enter
build
Writing, building, and running 10 Habitat plans in 10 days.
- Basic node app plan (no scaffolding) - Linux
- Basic node app plan - Windows
- App with a database (Tomcat and something else?) on Linux
- .NET App with a Database on Windows
- Plan with Secrets (i.e. Hashicorp Vault)
- Plan with non-standard do_unpack
- Plan with non-standard do_prepare
- Plan with non-standard do_build
gmp: Setting PREFIX=/hab/pkgs/core/gmp/6.1.2/20180803184716
gmp: Setting LD_RUN_PATH=/hab/pkgs/core/gmp/6.1.2/20180803184716/lib:/hab/pkgs/core/glibc/2.28/20180803183122/lib
gmp: Setting CFLAGS=-I/hab/pkgs/core/glibc/2.28/20180803183122/include -I/hab/pkgs/core/binutils/2.31.1/20180803184218/include
gmp: Setting CXXFLAGS=-I/hab/pkgs/core/glibc/2.28/20180803183122/include -I/hab/pkgs/core/binutils/2.31.1/20180803184218/includ
e
gmp: Setting CPPFLAGS=-I/hab/pkgs/core/glibc/2.28/20180803183122/include -I/hab/pkgs/core/binutils/2.31.1/20180803184218/includ
e
gmp: Setting LDFLAGS=-L/hab/pkgs/core/glibc/2.28/20180803183122/lib -L/hab/pkgs/core/binutils/2.31.1/20180803184218/lib
gmp: Setting PKG_CONFIG_PATH=
Base Plans are a subset of the core plans that are required to build both Habitat and the Studio. Without Habitat and the Studio, you cannot build any Habitat plans. These plans are the "foundation of the Habitat universe" - they are the building blocks upon which every component of Habitat is built upon. They must be built in a very specific order.
For more information and about base plans, see this blog post.
We have divided this process into four stages.