hadolint / hadolint/hadolint

Suggest --no-network on apk del

Open
#397 0 comments 2 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Haskell
Stars
12.4k
Forks
502
Avg merge
6d 9h
Merged PRs (30d)
1

Description

- [ ] This is a bug report
- [x] This is a feature request
- [x] I searched existing issues before opening this one

### Suggestion

Suggest to add ``--no-network`` to ``apk del`` to use local cache and not ask the network.

See https://github.com/docker-library/dockerfile-validator/blob/master/dockerfile-validator#L160

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the referenced dockerfile-validator entry at line 160, then search hadolint for the apk del rule and its tests. Done means the linter suggests --no-network for applicable apk del commands and the relevant checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, haskell
Domain
devops, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.