From 3aa6f396607d37953bd3a51c03875a7627113cea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Juli=C3=A1n=20Merelo=20Guerv=C3=B3s?= Date: Tue, 12 Jan 2021 16:21:13 +0100 Subject: [PATCH] Adds reference to the virtual machine it's running (#11952) * Adds reference to the virtual machine it's running This will help prepare more powerful hooks. * Clarify name and grammar * jq is definitely not there (although it's listed as part of the AMI Linux distro). * Updated the AWS URL The URL previously pointed to Spanish docs. * Update URL to Amazon Linux 2 Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com> --- docker-hub/builds/advanced.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-hub/builds/advanced.md b/docker-hub/builds/advanced.md index a19bde828a..9253668e4a 100644 --- a/docker-hub/builds/advanced.md +++ b/docker-hub/builds/advanced.md @@ -54,6 +54,8 @@ repository at the same directory level as your Dockerfile. Create a file called `hooks/build`, `hooks/test`, or `hooks/push` and include commands that the builder process can execute, such as `docker` and `bash` commands (prefixed appropriately with `#!/bin/bash`). +These hooks will be running on an instance of [Amazon Linux 2](https://aws.amazon.com/amazon-linux-2/){:target="_blank" rel="noopener" class="_"}, a distro based on Ubuntu, which includes interpreters such as Perl and Python and utilities such as `git` or `curl`. Please check the link above for the full list. + ## Custom build phase hooks You can run custom commands between phases of the build process by creating