Skip to content

Commit e901ac6

Browse files
Update for proper RFC3339 date-time
1 parent fccc2ef commit e901ac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/containerbuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ mv /var/tmp/"$KSNAME"-docker.tar.xz $BUILDROOT/docker/
6363

6464
# Create a Dockerfile to go along with the rootfs.
6565

66-
BUILDDATE_RFC3339="$(date -d $BUILDDATE --rfc-3339=date)"
66+
BUILDDATE_RFC3339="$(date -d $BUILDDATE --rfc-3339=seconds)"
6767
cat << EOF > $BUILDROOT/docker/Dockerfile
6868
FROM scratch
6969
ADD $KSNAME-docker.tar.xz /

0 commit comments

Comments
 (0)