Skip to content

Persist bash history for console between containers #627

@kierenevans

Description

@kierenevans

To improve the developer experience for harness upgrades, store /home/build/.bash_history on a named volume, allowing history of commands to persist between console containers for a project

Our current named volumes are here - https://github.com/inviqa/harness-base-php/blob/1.2.x/src/_base/docker-compose.yml.twig#L24-L40 - and the console container can reference them here - https://github.com/inviqa/harness-base-php/blob/1.2.x/src/_base/_twig/docker-compose.yml/service/console.yml.twig#L13-L17

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions