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

Add hadolint to pre-commit hooks #422

Merged
merged 1 commit into from
Mar 3, 2024

Conversation

aaronmondal
Copy link
Member

@aaronmondal aaronmondal commented Nov 27, 2023

This hardens the Dockerfile.


This change is Reviewable

Copy link
Collaborator

@MarcusSorealheis MarcusSorealheis left a comment

Choose a reason for hiding this comment

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

I thought about it, and the only issue I see in this PR is that there is no mention of Hadolint in the docker-compose README. Then it dawned me on that we don't have a README for this directory. I've created a new issue here

LGTM


RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
npm=8.5.1~ds \
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is a huge improvement

Copy link
Collaborator

Choose a reason for hiding this comment

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

Even if it seems small

@aaronmondal aaronmondal force-pushed the hadolint branch 6 times, most recently from 61f4020 to 5708dab Compare November 28, 2023 12:25
Copy link
Member

@allada allada left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 2 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @aaronmondal)


deployment-examples/docker-compose/Dockerfile line 74 at r2 (raw file):

        DEBIAN_FRONTEND=noninteractive \
        apt-get install --no-install-recommends -y \
            ca-certificates=20230311ubuntu0.22.04.1; \

nit: Not needed any more, right?

Copy link
Member

@allada allada left a comment

Choose a reason for hiding this comment

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

:lgtm:

Dismissed @MarcusSorealheis from a discussion.
Reviewable status: 1 of 2 files reviewed, all discussions resolved (waiting on @aaronmondal)

Copy link
Member

@allada allada left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @aaronmondal)

This hardens the Dockerfile.
Copy link

vercel bot commented Mar 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nativelink-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 3, 2024 2:28pm

Copy link
Member Author

@aaronmondal aaronmondal left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! 1 of 1 LGTMs obtained


deployment-examples/docker-compose/Dockerfile line 74 at r2 (raw file):

Previously, allada (Nathan (Blaise) Bruer) wrote…

nit: Not needed any more, right?

Unfortunately still needed. Will attempt to remove it #708

@aaronmondal aaronmondal merged commit d8afd33 into TraceMachina:main Mar 3, 2024
26 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.

None yet

3 participants