docs icon indicating copy to clipboard operation
docs copied to clipboard

rewrite-timestamp option works with docker exporter

Open danielerepici opened this issue 3 months ago • 0 comments

Is this a docs issue?

  • [x] My issue is about the documentation content or website

Type of issue

Information is incorrect

Description

The page https://docs.docker.com/build/exporters/oci-docker/ does not mention that you can use the rewrite-timestamp parameter with the docker exporter (this is only mentioned in the image exporter documentation).

However, I just tested the parameter with the docker exporter and it seems to work just fine (file timestamps were overridden and set to the value of SOURCE_DATE_EPOCH).

Seems like a trifle but had I known that it could have saved me a few hours and I only found out by programming by coincidence.

Location

https://docs.docker.com/build/exporters/oci-docker/

Suggestion

No response

danielerepici avatar Sep 17 '25 13:09 danielerepici