<p>I'm using the official stable ZooKeeper Helm chart for Kubernetes <a href="https://github.com/kubernetes/charts/blob/b40c8c395d8acfa428a865d8aeb9c607e0cce69c/incubator/zookeeper/templates/statefulset.yaml#L39" rel="nofollow noreferrer">which pulls a ZooKeeper Docker image</a> from Google's sample images on Google Container Registry. </p>

<p>That ZooKeeper image is available <a href="https://console.cloud.google.com/gcr/images/google-samples/GLOBAL/k8szk@sha256:32212dd754b6280ac6c96b615605300f1f060baad1fdf68abd370d2ffb07ae47/details/info?tag=v2" rel="nofollow noreferrer">here</a>, however, I can't seem to find any reference to the Dockerfile for how it is built or if its Dockerfile is generated from some other representation (e.g., <a href="https://github.com/bazelbuild/rules_docker" rel="nofollow noreferrer">via Bazel</a>).  I'd like to know info like what else is installed on the image, what OS it's based on, etc.</p>

<p>In general are Dockerfiles for the Google sample images publicly hosted on GCR available?</p>

<p>For the ZooKeeper image specifically, I'd like to determine how it compares to <a href="https://hub.docker.com/r/confluentinc/cp-zookeeper/" rel="nofollow noreferrer">Confluent's ZooKeeper image</a>: is it similar?  Does it bundle something extra for running ZooKeeper on top of Kubernetes?  etc</p>

<p>So far I've done quite a bit of Googling, read through the <a href="https://cloud.google.com/container-registry/docs/" rel="nofollow noreferrer">Google Container Registry docs</a>, poked around the <a href="https://github.com/google" rel="nofollow noreferrer">Google org on GitHub</a>, and <a href="https://stackoverflow.com/search?q=google%20container%20registry%20dockerfile">searched Stack Overflow</a> but haven't been able to locate this info.</p>

<p>Please do not use images from <code>gcr.io/google-samples</code> for production use.</p>

<p>These images are used solely for GKE tutorials on cloud.google.com and they are not actively maintained, in the sense that we don't rebuild them for security vulnerabilities for the components on the images etc.</p>

<p>Source codes for some of the images are at <a href="https://github.com/GoogleCloudPlatform/kubernetes-engine-samples/" rel="nofollow noreferrer">https://github.com/GoogleCloudPlatform/kubernetes-engine-samples/</a>.</p>
