Skip to content

update docker-compose version to latest and add new test scenarios#1571

Draft
sireeshajonnalagadda wants to merge 8 commits intodevcontainers:mainfrom
sireeshajonnalagadda:docker-compose-latest
Draft

update docker-compose version to latest and add new test scenarios#1571
sireeshajonnalagadda wants to merge 8 commits intodevcontainers:mainfrom
sireeshajonnalagadda:docker-compose-latest

Conversation

@sireeshajonnalagadda
Copy link
Contributor

This PR fixes issue

Description of changes:
Updated the default value of dockerDashComposeVersion to latest to make use of the most recent features and security updates.
Added latest to the list of supported values for dockerDashComposeVersion in the devcontainer-feature.json Updated the Readme.md
added new tests and scenarios

Copy link
Contributor

@Kaniska244 Kaniska244 left a comment

Choose a reason for hiding this comment

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

Hi @sireeshajonnalagadda

The change as such looks fine. Left a few comments. Please let me know in case of any concern.

{

"id": "docker-outside-of-docker",
"version": "1.8.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

Please do a version bump.

Copy link
Contributor

Choose a reason for hiding this comment

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

If this test script is duplicated from existing test scripts, can we please create a symlink to the original script instead of duplication?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added this test script for Docker Compose latest(5.x.x); retained unchanged as only version differs. Created symlink to align with existing 'latest' script."

Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above

Copy link
Contributor

Choose a reason for hiding this comment

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

@sireeshajonnalagadda I don't see changes on this file though. Could you please convert this to symlink as well if its a duplicated copy.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Kaniska244
The checks are structurally identical, with the only difference being the regex used to validate Docker Compose version 5 instead of version 2. To avoid duplication, a symlink has been created from one of the 'latest' scripts to align with the other 'latest' script without Moby.

@sireeshajonnalagadda
Copy link
Contributor Author

Hi @Kaniska244,
Addressed all the requested changes. Please let me know in case of any further concerns.

Copy link
Contributor

Choose a reason for hiding this comment

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

@sireeshajonnalagadda I don't see changes on this file though. Could you please convert this to symlink as well if its a duplicated copy.

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.

[docker-outside-of-docker] Update default dockerDashComposeVersion to latest and update documentation

2 participants