Skip to content

Find a way to support RUN touch --date=@TIMESTAMP /MOUNT/POINT #3309

Open

Description

buildkit/client/client_test.go

Lines 8205 to 8206 in 7e14bbd

// No support for reproducing the timestamps of mount point directories such as var/foo/ and tmp/foo2/bar/,
// because the touched timestamp value is lost when the mount is unmounted.

The timestamp specified in RUN touch is lost when the executor container exits, so it seems hard to retain custom timestamps.

SOURCE_DATE_EPOCH support for mount point dirs (and any arbitrary dirs/files) will be covered in

Originally posted by @AkihiroSuda in #3149 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions