We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bc3c976 + ca2be8e commit a9256caCopy full SHA for a9256ca
docker/containerbuild.sh
@@ -63,6 +63,7 @@ mv /var/tmp/"$KSNAME"-docker.tar.xz $BUILDROOT/docker/
63
64
# Create a Dockerfile to go along with the rootfs.
65
66
+BUILDDATE_RFC3339="$(date -d $BUILDDATE --rfc-3339=date)"
67
cat << EOF > $BUILDROOT/docker/Dockerfile
68
FROM scratch
69
ADD $KSNAME-docker.tar.xz /
@@ -71,7 +72,7 @@ LABEL org.label-schema.schema-version="1.0" \\
71
72
org.label-schema.name="CentOS Base Image" \\
73
org.label-schema.vendor="CentOS" \\
74
org.label-schema.license="GPLv2" \\
- org.label-schema.build-date="$BUILDDATE"
75
+ org.label-schema.build-date="$BUILDDATE_RFC3339"
76
77
CMD ["/bin/bash"]
78
EOF
0 commit comments