diff options
author | Tim Smith <tsmith@chef.io> | 2019-05-08 21:52:17 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2019-05-08 21:52:17 -0700 |
commit | 1a5dc12b10d00b3cbad58b4490cee5bc1d1c9f46 (patch) | |
tree | 433c34725f449945c63510dcea04f976abcc2a0d | |
parent | 56bcf57b6d7c6f8ae2831ef2793d4b40ab85a32a (diff) | |
download | chef-expeditor_update2.tar.gz |
Add comments to the Dockerfile explaining how it all worksexpeditor_update2
Help outsiders understand how we push things up.
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | Dockerfile | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile index 9b47f4f170..e5ca602283 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,24 @@ +# About this Dockerfile: +# Run without any arguments passed in this Dockerfile will build the latest "stable" channel release of Chef, which +# is manually defined in the VERSION arg. +# +# Several processes occur using this file which are kicked off by our Expeditor pipeline tooling: +# +# When a build makes it through our internal CI system and is promoted to our "unstable" channel Expeditor will +# trigger a Docker image build of that version and push it to Docker Hub. +# +# When tests of an unstable build pass within our CI system it will be promoted to the "current" channel and +# Expeditor will tag that image as "current" on Docker Hub. +# +# When a build is promoted to our "stable" channel .expeditor/update_dockerfile.sh is run to update the version +# in this file and also tag that image as "latest" and "stable" on Docker Hub. Additionally major and minor tags will be +# applied so 15.0.260 would be tagged as "latest", "stable", "15" and "15.0", as well as "15.0.260". + FROM busybox MAINTAINER Chef Software, Inc. <docker@chef.io> ARG CHANNEL=stable -ARG VERSION=14.6.47 +ARG VERSION=14.12.9 RUN wget "http://packages.chef.io/files/${CHANNEL}/chef/${VERSION}/el/6/chef-${VERSION}-1.el6.x86_64.rpm" -O /tmp/chef-client.rpm && \ rpm2cpio /tmp/chef-client.rpm | cpio -idmv && \ |