diff --git a/test/fixtures/cnb/ruby/download.md b/test/fixtures/cnb/ruby/download.md index 57c87b9..f1907c0 100644 --- a/test/fixtures/cnb/ruby/download.md +++ b/test/fixtures/cnb/ruby/download.md @@ -14,3 +14,9 @@ Verify you're in the correct directory: ``` :::>> $ ls ``` + +This tutorial was built using the following commit SHA: + +``` +:::>> $ git log --oneline | head -n1 +``` diff --git a/test/fixtures/cnb/shared/install_pack.md b/test/fixtures/cnb/shared/install_pack.md index c1d0a2c..7d7118f 100644 --- a/test/fixtures/cnb/shared/install_pack.md +++ b/test/fixtures/cnb/shared/install_pack.md @@ -6,7 +6,7 @@ We assume you have [docker installed](https://docs.docker.com/engine/install/) a :::>- $ brew install buildpacks/tap/pack ``` -Ensure that it is installed correctly: +Ensure that `pack` is installed correctly: ``` :::>> $ pack --version diff --git a/test/fixtures/cnb/shared/pack_build.md b/test/fixtures/cnb/shared/pack_build.md index 711e9e6..c44254e 100644 --- a/test/fixtures/cnb/shared/pack_build.md +++ b/test/fixtures/cnb/shared/pack_build.md @@ -4,8 +4,8 @@ Now build an image named `my-image-name` by executing the heroku builder against `pack build` command: ``` -:::-- $ docker rmi -f my-image-name $ pack build my-image-name --path . +:::-- $ docker rmi -f my-image-name :::-- $ pack build my-image-name --path . &> build_output.txt :::-> $ cat build_output.txt ``` diff --git a/test/fixtures/cnb/shared/use_the_image.md b/test/fixtures/cnb/shared/use_the_image.md index 4b6a3ca..e591eaa 100644 --- a/test/fixtures/cnb/shared/use_the_image.md +++ b/test/fixtures/cnb/shared/use_the_image.md @@ -5,7 +5,8 @@ Even though we used `pack` and CNBs to build our image, it can be run with your By default, images will be booted into a web server configuration. You can launch the app we just built by running: ``` -:::>> background.start("docker run -it --rm --env PORT=9292 -p 9292:9292 my-image-name", name: "docker_server") +$ docker run -it --rm --platform linux/amd64 --env PORT=9292 -p 9292:9292 my-image-name +:::-> background.start("docker run --rm --platform linux/amd64 --env PORT=9292 -p 9292:9292 my-image-name", name: "docker_server") :::-- $ sleep 10 :::-> background.log.read(name: "docker_server") ``` diff --git a/test/fixtures/cnb/shared/what_is_a_builder.md b/test/fixtures/cnb/shared/what_is_a_builder.md index 6182584..662f79d 100644 --- a/test/fixtures/cnb/shared/what_is_a_builder.md +++ b/test/fixtures/cnb/shared/what_is_a_builder.md @@ -16,3 +16,12 @@ You can view the contents of a builder via the command `pack builder inspect`. F > Your output version numbers may differ. This output shows the various buildpacks that represent the different languages that are supported by this builder such as `heroku/go` and `heroku/nodejs-engine`. + + +