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

do not use NO_PROXY_CACHE env variable with apt-get install to avoid a linting error #7077

Merged
merged 1 commit into from
May 8, 2024

Conversation

daniellehrner
Copy link
Contributor

PR description

A recent modification in the Dockerfiles triggers a linting error which fails the pipeline running on the main branch. Ignoring the rule seems a bad idea, because it is enforcing that all packages which are installed via apt-get have a defined version number, which is a best practice.

Instead I have opted for replacing the ENV variable which triggers the error with the respective string.

Thanks for sending a pull request! Have you done the following?

  • Checked out our contribution guidelines?
  • Considered documentation and added the doc-change-required label to this PR if updates are required.
  • Considered the changelog and included an update if required.
  • For database changes (e.g. KeyValueSegmentIdentifier) considered compatibility and performed forwards and backwards compatibility tests

Locally, you can run these tests to catch failures early:

  • unit tests: ./gradlew build
  • acceptance tests: ./gradlew acceptanceTest
  • integration tests: ./gradlew integrationTest
  • reference tests: ./gradlew ethereum:referenceTests:referenceTests

…a linting error

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
@daniellehrner daniellehrner merged commit 65b3cb1 into hyperledger:main May 8, 2024
42 checks passed
@daniellehrner daniellehrner deleted the fix/hadolint-error branch May 8, 2024 10:37
jflo pushed a commit to jflo/besu that referenced this pull request May 28, 2024
…a linting error (hyperledger#7077)

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
matthew1001 pushed a commit to kaleido-io/besu that referenced this pull request Jun 7, 2024
…a linting error (hyperledger#7077)

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
jflo pushed a commit to jflo/besu that referenced this pull request Jun 10, 2024
…a linting error (hyperledger#7077)

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
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