Skip to content

rewrite-timestamp option works with docker exporter #23418

@danielerepici

Description

@danielerepici

Is this a docs issue?

  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/buildRelates to Dockerfiles or docker build commandstatus/triageNeeds triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions