Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add test-docker rule #742

Merged
merged 3 commits into from
Aug 11, 2022
Merged

test: add test-docker rule #742

merged 3 commits into from
Aug 11, 2022

Conversation

beebzz
Copy link

@beebzz beebzz commented Aug 10, 2022

No description provided.

Makefile Outdated Show resolved Hide resolved
Comment on lines -9 to +13
RUN curl --silent --show-error https://getcomposer.org/installer | php
RUN mv composer.phar /usr/local/bin/composer
RUN composer install --no-dev
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
Copy link
Contributor

Choose a reason for hiding this comment

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

Why this change instead of using curl?

Copy link
Author

Choose a reason for hiding this comment

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

Figured it was more of a best practice to use the proper composer image rather than curl it

Copy link
Contributor

@childish-sambino childish-sambino left a comment

Choose a reason for hiding this comment

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

nit: should be a test: change

@beebzz beebzz changed the title chore: add test-docker rule test: add test-docker rule Aug 10, 2022
@sonarcloud
Copy link

sonarcloud bot commented Aug 11, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@beebzz beebzz merged commit 10c7f8b into main Aug 11, 2022
@beebzz beebzz deleted the make-test-docker branch August 11, 2022 16:54
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.

2 participants