This patch switches the shellcheck image to use the official image from Docker Hub. Note that this does not yet update shellcheck to the latest version (v0.5.x); Shellcheck v0.4.7 added some new checks, which makes CI currently fail, so will be done in a follow-up PR. Instead, the v0.4.6 version is used in this PR, which is closest to the same version as was installed in the image before this change; ``` docker run --rm docker-cli-shell-validate shellcheck --version ShellCheck - shell script analysis tool version: 0.4.4 license: GNU General Public License, version 3 website: http://www.shellcheck.net ``` Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
8 lines
206 B
Docker
8 lines
206 B
Docker
FROM koalaman/shellcheck-alpine:v0.4.6
|
|
RUN apk add --no-cache bash make
|
|
WORKDIR /go/src/github.com/docker/cli
|
|
ENV DISABLE_WARN_OUTSIDE_CONTAINER=1
|
|
ENTRYPOINT [""]
|
|
CMD ["/bin/sh"]
|
|
COPY . .
|