Now that HEREDOC is included in the stable Dockerfile syntax, we can use the latest stable syntax for all Dockerfiles. The recommendation for the stable syntax is to use `:1` (which is equivalent to "latest" stable syntax. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
8 lines
293 B
Docker
8 lines
293 B
Docker
# syntax=docker/dockerfile:1
|
|
|
|
FROM koalaman/shellcheck-alpine:v0.7.1 AS shellcheck
|
|
WORKDIR /go/src/github.com/docker/cli
|
|
RUN --mount=type=bind,target=. \
|
|
set -eo pipefail; \
|
|
find scripts/ contrib/completion/bash -type f | grep -v scripts/winresources | grep -v '.*.ps1' | xargs shellcheck
|