# In this directory, run the following command to build this builder.
# $ gcloud alpha container builds create . --config=cloudbuild.yaml

steps:
- name: 'gcr.io/cloud-builders/docker'
  args: ['build', '--tag=gcr.io/$PROJECT_ID/docker', '.']

# Do some fun things with this builder.

# Like build itself.
- name: 'gcr.io/$PROJECT_ID/docker'
  args: ['build', '--tag=gcr.io/$PROJECT_ID/docker', '.']
# Get info about itself.
- name: 'gcr.io/$PROJECT_ID/docker'
  args: ['inspect', 'gcr.io/$PROJECT_ID/docker']
# Or run a random container.
- name: 'gcr.io/$PROJECT_ID/docker'
  args: ['run', 'alpine', 'echo', 'Hello, world!']

images: ['gcr.io/$PROJECT_ID/docker']

# In this directory, run the following command to build this builder.
# $ gcloud alpha container builds create . --config=cloudbuild.yaml

steps:
- name: 'gcr.io/cloud-builders/docker'
  args: ['build', '--tag=gcr.io/$PROJECT_ID/docker', '.']

# Do some fun things with this builder.

# Like build itself.
- name: 'gcr.io/$PROJECT_ID/docker'
  args: ['build', '--tag=gcr.io/$PROJECT_ID/docker-again', '.']
# Get info about itself.
- name: 'gcr.io/$PROJECT_ID/docker'
  args: ['inspect', 'gcr.io/$PROJECT_ID/docker']
# Or run a random container.
- name: 'gcr.io/$PROJECT_ID/docker'
  args: ['run', 'busybox', 'echo', 'Hello, world!']

images: ['gcr.io/$PROJECT_ID/docker']

Use `busybox` in the test for the `docker` builder, instead of `alpine`
Use `busybox` in the test for the `docker` builder, instead of `alpine`

Also remove a slightly wacky self-building test that added some murkiness to the provenance of the docker builder, since it built itself then pushed that new image.

-------------
MOE_MIGRATED_REVID=133134637
APPROVED=
