Skip to content

Commit 497255d

Browse files
committed
Use fixed timestamp for build_datetime.
1 parent 2bdeb11 commit 497255d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/defs.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ def _generate_entrypoint_impl(repository_ctx):
44
to inject build version and date.
55
"""
66
repository_ctx.report_progress("Generating entrypoint.sh...")
7-
build_datetime = repository_ctx.execute(["date"]).stdout
7+
build_datetime = repository_ctx.execute(["date -d@0"]).stdout
88
repository_ctx.template(
99
"entrypoint.sh",
1010
Label("//docker:entrypoint.sh.tpl"),

0 commit comments

Comments
 (0)