Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

container-diff diff <image> <image> --type=history switches history #295

Closed
@gudrutis

Description

@gudrutis

Expected behavior

container-diff diff  hwchiu/docker-lxr:latest gudrutis/docker-lxr:2.3.4 --type=history

-----History-----

Docker history lines found only in gudrutis/docker-lxr:2.3.4:
curl -L https://sourceforge.net/projects/lxr/files/stable/lxr-2.3.4.tgz > lxr.tgz &&        tar -xvf lxr.tgz &&              mv lxr-2.3.4 lxr

Docker history lines found only in hwchiu/docker-lxr:latest:
curl -L https://sourceforge.net/projects/lxr/files/stable/lxr-2.2.1.tgz > lxr.tgz &&        tar -xvf lxr.tgz &&              mv lxr-2.2.1 lxr

Actual behavior

container-diff diff  hwchiu/docker-lxr:latest gudrutis/docker-lxr:2.3.4 --type=history

-----History-----

Docker history lines found only in hwchiu/docker-lxr:latest:
curl -L https://sourceforge.net/projects/lxr/files/stable/lxr-2.3.4.tgz > lxr.tgz &&        tar -xvf lxr.tgz &&              mv lxr-2.3.4 lxr

Docker history lines found only in gudrutis/docker-lxr:2.3.4:
curl -L https://sourceforge.net/projects/lxr/files/stable/lxr-2.2.1.tgz > lxr.tgz &&        tar -xvf lxr.tgz &&              mv lxr-2.2.1 lxr

Information

Containers histories are switched: containers A history is shown as containers B history and vice versa.

  • container-diff version: latest one.
  • Operating system: macOs

Steps to reproduce the behavior

Run the command above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions