Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: Minor linter issues #520

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

vaind
Copy link
Contributor

@vaind vaind commented Feb 28, 2024

  • add missing gem cleanup
  • autofixed settings.json

Comment on lines 67 to +72
&& gem install -g --no-document \
&& gem cleanup all \
Copy link
Member

Choose a reason for hiding this comment

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

just because I'm curious -- what does this do? reading the output it looks like it didn't really uninstall anything:

#16 109.4 Cleaning up installed gems...
#16 109.4 Clean up complete

Copy link
Contributor Author

Choose a reason for hiding this comment

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

guess nothing in this case, it's just what linter said is missing there. To me it sounds like having apt-get clean or apt-get autoremove - you may not need it most of the time but if you do, it's there and no need to come back to the image and investigate whether you can decrease the size.

Copy link
Member

Choose a reason for hiding this comment

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

what linter ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

some extension in vscode uses these: https://github.com/projectatomic/dockerfile_lint

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants