Last active
April 14, 2024 16:56
-
-
Save pythoninthegrass/363b77be45ee378de83f64742d5644f9 to your computer and use it in GitHub Desktop.
Hadolint config stored in $HOME
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
failure-threshold: info # error|warning|info|style|ignore|none | |
ignored: | |
- DL3006 # explicit tag | |
- DL3008 # pin versions in apt | |
- DL3018 # pin versions in apk | |
- DL3026 # allowed registry | |
trustedRegistries: | |
- docker.io | |
- "*.gcr.io" | |
- localhost:32000 |
Can also put at the top of a Dockerfile
# syntax=docker/dockerfile:1.6
# hadolint global ignore=DL3006,DL3026
FROM golang:1.22.2-alpine AS builder
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
localhost:32000
is microk8s' local container registry