Skip to content

SOURCE_DATE_EPOCH variable causes Docker images to shows created to be "45 years ago" #2597

Open
@DerArkeN

Description

@DerArkeN

What happened?

When using the devbox the variable SOURCE_DATE_EPOCH get's set to '315532800' (I assume for reproducability reasons) but causes my Docker images to appear created 45 years ago.

This causes our automatic cleanup to delete just recently created images in the registry.

Perhaps this is a Docker issue instead but maybe you can give me a reason for the variable being set in the devbox shell.

Steps to reproduce

  1. Be in a devbox shell
  2. Build a Docker image
  3. Run docker images and check the "CREATED" column

Command

No response

devbox.json

Devbox version

0.14.2

Nix version

No response

What system does this bug occur on?

macOS (Intel)

Debug logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageIssue needs triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions