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

Remove one layer by having both git clone together #1381

Merged
merged 2 commits into from
Jul 16, 2023

Conversation

Gontier-Julien
Copy link
Contributor

Basically tidy up both git clone together.

Description

Removed the second 'RUN' git clone, and add it directly after the second one.

Motivation and Context

It isn't required and doesn't solve any problem, but (maybe this is a old habit of older version) i think it always better to have less layer if possible.
And it doesn't make it less readable so i think it okay

How Has This Been Tested?

Tested and working, it shouldn't affect the container anyways.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Impovement (added my own there but it just a improvement)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

src/Dockerfile Outdated Show resolved Hide resolved
Make it consistence with other multi-line commands.

Co-authored-by: RD WebDesign <[email protected]>
Signed-off-by: Snow <[email protected]>
@sonarcloud
Copy link

sonarcloud bot commented Jul 16, 2023

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

Copy link
Member

@PromoFaux PromoFaux left a comment

Choose a reason for hiding this comment

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

Don't worry about failed builds for now - the script needs tweaking for contributors

@PromoFaux PromoFaux merged commit 91f0771 into pi-hole:development-v6 Jul 16, 2023
12 of 18 checks passed
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.

3 participants