2019-01-25 08:20:03 UTC
297 MB
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:7dc0dca2b1516961d6b3200564049db0a6e0410b370bb2189e2efae0d368616f - 23.95% (71.2 MB)
[#001] sha256:7f83c14636c1231e7d368234d0142cc407432b4642bb37257ea6cb9ee9373efd - 1.85% (5.52 MB)
[#002] sha256:3e07f27a327f48e7c3d0c08c0aebc8e892b7a19f2e9329cbba473a37dc85b3c8 - 50.26% (149 MB)
[#003] sha256:06ba0efc350a54329edd253eb69c836f221f874f5edbafd18f936bac1ddd7b0a - 23.93% (71.2 MB)
/bin/sh -c #(nop) ADD file:8f4b3be0c1427b158f7c30bad27af0d1bded0af60935cf8f0789286439ebdde9 in /
2018-10-09 18:20:33 UTC/bin/sh -c #(nop) LABEL org.label-schema.schema-version== 1.0 org.label-schema.name=CentOS Base Image org.label-schema.vendor=CentOS org.label-schema.license=GPLv2 org.label-schema.build-date=20180531
2018-10-09 18:20:34 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2019-01-25 08:15:31 UTC/bin/sh -c #(nop) MAINTAINER Gerrit Code Review Community
2019-01-25 08:15:37 UTC/bin/sh -c rpm -i https://gerritforge.com/gerritforge-repo-1-2.noarch.rpm
2019-01-25 08:18:29 UTC/bin/sh -c yum -y install initscripts && yum -y install java-1.8.0-openjdk && yum -y install gerrit-2.16.4-1 && rm -Rf /var/gerrit/{logs,tmp}/* && rm -Rf /var/gerrit/.gerritcodereview && yum -y clean all
2019-01-25 08:18:30 UTC/bin/sh -c #(nop) USER gerrit
2019-01-25 08:20:01 UTC/bin/sh -c java -jar /var/gerrit/bin/gerrit.war init --batch --install-all-plugins -d /var/gerrit && java -jar /var/gerrit/bin/gerrit.war reindex -d /var/gerrit && git config -f /var/gerrit/etc/gerrit.config --add container.javaOptions "-Djava.security.egd=file:/dev/./urandom"
2019-01-25 08:20:02 UTC/bin/sh -c #(nop) ENV CANONICAL_WEB_URL=
2019-01-25 08:20:02 UTC/bin/sh -c #(nop) EXPOSE 29418 8080
2019-01-25 08:20:03 UTC/bin/sh -c #(nop) VOLUME [/var/gerrit/git /var/gerrit/index /var/gerrit/cache /var/gerrit/db /var/gerrit/etc]
2019-01-25 08:20:03 UTC/bin/sh -c #(nop) CMD ["/bin/sh" "-c" "git config -f /var/gerrit/etc/gerrit.config gerrit.canonicalWebUrl \"${CANONICAL_WEB_URL:-http://$HOSTNAME}\" && git config -f /var/gerrit/etc/gerrit.config noteDb.changes.autoMigrate true && /var/gerrit/bin/gerrit.sh run"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.