summaryrefslogtreecommitdiff
path: root/contrib/imgts/Dockerfile
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-04 19:18:10 +0100
committerGitHub <noreply@github.com>2019-02-04 19:18:10 +0100
commit465e19b555abb03d465dc448b169ea1661eb8cce (patch)
tree987f80b6c5e8a51f167b624d739b31be1ef9c869 /contrib/imgts/Dockerfile
parentd5593b8e718a1ca86380faa072c654f791b18bbc (diff)
parent01e609d460ac9c49246dcb10b1433e2b00b20981 (diff)
downloadpodman-465e19b555abb03d465dc448b169ea1661eb8cce.tar.gz
podman-465e19b555abb03d465dc448b169ea1661eb8cce.tar.bz2
podman-465e19b555abb03d465dc448b169ea1661eb8cce.zip
Merge pull request #2213 from cevich/cirrus_imgts_container
[skip ci] Cirrus: Container for tracking image use
Diffstat (limited to 'contrib/imgts/Dockerfile')
-rw-r--r--contrib/imgts/Dockerfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/imgts/Dockerfile b/contrib/imgts/Dockerfile
new file mode 100644
index 000000000..0746eca4c
--- /dev/null
+++ b/contrib/imgts/Dockerfile
@@ -0,0 +1,20 @@
+FROM centos:7
+
+# Only needed for installing build-time dependencies
+COPY /contrib/imgts/google-cloud-sdk.repo /etc/yum.repos.d/google-cloud-sdk.repo
+RUN yum -y update && \
+ yum -y install epel-release && \
+ yum -y install google-cloud-sdk && \
+ yum clean all
+
+COPY /contrib/imgts/entrypoint.sh /usr/local/bin/entrypoint.sh
+ENV GCPJSON="__unknown__" \
+ GCPNAME="__unknown__" \
+ GCPPROJECT="__unknown__" \
+ IMGNAMES="__unknown__" \
+ TIMESTAMP="__unknown__" \
+ BUILDID="__unknown__" \
+ REPOREF="__unknown__"
+RUN chmod 755 /usr/local/bin/entrypoint.sh
+
+ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]