docs: Add sh/bash example for SHELL #21141
Labels
area/build
Relates to Dockerfiles or docker build command
lifecycle/stale
status/triage
Needs triage
Is this a docs issue?
Type of issue
I can't find what I'm looking for
Description
Hadolint points to the online documentation for the
SHELL
directive. Which is good.However, all that's given here is a powershell example.
That might be useful on windows or dotnet related dockerfiles, but not so handy for linux ones.
Location
https://docs.docker.com/reference/dockerfile/
Suggestion
Maybe a more detailed example based on the moby repo?:
This is me taking a stab at setting shell flags and options
which doesn't work as expected without uncommenting the inline
set
opts.The text was updated successfully, but these errors were encountered: