projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d074791
)
Add label showing image creation time on commit
author
Michael Brown
<supermathie@gmail.com>
Thu, 31 Mar 2022 02:47:08 +0000
(22:47 -0400)
committer
Michael Brown
<supermathie@gmail.com>
Thu, 31 Mar 2022 02:47:39 +0000
(22:47 -0400)
launcher
patch
|
blob
|
blame
|
history
diff --git
a/launcher
b/launcher
index 4c175d0784f2f86b49cef879cc9ffb1faad9be57..36e3cb19832f28d6f5b2ce479e4be5a2e03a8701 100755
(executable)
--- a/
launcher
+++ b/
launcher
@@
-711,6
+711,7
@@
run_bootstrap() {
sleep 5
$docker_path commit \
+ -c "LABEL org.opencontainers.image.created=\"$(TZ=UTC date -Iseconds)\"" \
"$CONTAINER_ID" \
$local_discourse/$config || die "FAILED TO COMMIT $CONTAINER_ID"
$docker_path rm "$CONTAINER_ID"