Skip to content

Conversation

@sergey-zabolotny
Copy link
Member

Fixes: #787

bin/fin Outdated
export COMPOSE_CONVERT_WINDOWS_PATHS=1

# get cli image version
CLI_IMAGE_VER=$(docker-compose --verbose config --hash="cli" 2>&1 | grep 'docker inspect_image <-' | cut -d"'" -f2 | sed 's#/#-#g;s#:#-#g')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This adds almost 2s to load_configuration(), which is used in many places in fin.
So this would slow everything down substantially. We need to figure out a different approach.

Copy link
Member

@lmakarov lmakarov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using docker-compose config to get the cli image version carries a major performance hit across the board in fin. We have to find a different approach.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove cli_home volume whenever cli image version is updated

3 participants