2018-08-14 05:01:41 UTC
303 MB
http://download.oracle.com/otn-pub/java/jdk/8u181-b13/96a7b8442fe848ef90c96a2fad6ed6d1/jdk-8u181-linux-x64.rpm
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:1c8f9aa56c90ab24207ff5ca6b853bdbffb40b7801055d0b9c934cb16b5b43dd - 21.96% (66.6 MB)
[#001] sha256:c5e21c824d1c62d508f33317af6af8e3bdea39ae2898766ff05df8f30ab4c4e3 - 15.76% (47.8 MB)
[#002] sha256:4ba7edb60123c1330bed57c30855c955932641f4250c4590b06a9ce70acd2790 - 62.28% (189 MB)
/bin/sh -c #(nop) ADD file:769078df784180af430a478e45561a3a6ef0721cebeae55b5d7cb9a64248823b in /
2018-08-06 19:22:44 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=20180804
2018-08-06 19:22:45 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2018-08-14 04:45:52 UTC/bin/sh -c #(nop) MAINTAINER agapple (jianghang115@gmail.com)
2018-08-14 04:59:14 UTC/bin/sh -c #(nop) ENV DOWNLOAD_LINK=http://download.oracle.com/otn-pub/java/jdk/8u181-b13/96a7b8442fe848ef90c96a2fad6ed6d1/jdk-8u181-linux-x64.rpm
2018-08-14 05:00:51 UTC/bin/sh -c /bin/cp -f /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'root:Hello1234' | chpasswd && groupadd -r admin && useradd -g admin admin && yum install -y man && yum install -y dstat && yum install -y unzip && yum install -y nc && yum install -y openssh-server && yum install -y tar && yum install -y which && yum install -y wget && yum install -y perl && yum install -y file && ssh-keygen -q -N "" -t dsa -f /etc/ssh/ssh_host_dsa_key && ssh-keygen -q -N "" -t rsa -f /etc/ssh/ssh_host_rsa_key && sed -ri 's/session required pam_loginuid.so/#session required pam_loginuid.so/g' /etc/pam.d/sshd && sed -i -e 's/^#Port 22$/Port 2222/' /etc/ssh/sshd_config && mkdir -p /root/.ssh && chown root.root /root && chmod 700 /root/.ssh && yum install -y cronie && sed -i '/session required pam_loginuid.so/d' /etc/pam.d/crond && true
2018-08-14 05:01:40 UTC/bin/sh -c touch /var/lib/rpm/* && wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=xxx; oraclelicense=accept-securebackup-cookie" "$DOWNLOAD_LINK" -O /tmp/jdk-8-linux-x64.rpm && yum -y install /tmp/jdk-8-linux-x64.rpm && /bin/rm -f /tmp/jdk-8-linux-x64.rpm && echo "export JAVA_HOME=/usr/java/latest" >> /etc/profile && echo "export PATH=\$JAVA_HOME/bin:\$PATH" >> /etc/profile && yum clean all && true
2018-08-14 05:01:41 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
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.