Skip to content

Commit 458d88a

Browse files
committed
Merge pull request #31 from krancour/add-shellcheck
feat(image): Add shellcheck
2 parents e9d43af + cc5ef3b commit 458d88a

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

rootfs/Dockerfile

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,13 @@ RUN apt-get update && apt-get install -y \
1111
upx \
1212
zip \
1313
--no-install-recommends \
14-
&& rm -rf /var/lib/apt/lists/*
15-
16-
RUN wget https://github.com/Masterminds/glide/releases/download/0.10.1/glide-0.10.1-linux-amd64.tar.gz && \
17-
tar xvfz glide-0.10.1-linux-amd64.tar.gz && \
18-
mv linux-amd64/glide /usr/local/bin/ && \
19-
rm -rf linux-amd64 glide-0.10.1-linux-amd64.tar.gz
20-
21-
RUN go get -u -v \
14+
&& rm -rf /var/lib/apt/lists/* \
15+
&& curl -L https://github.com/Masterminds/glide/releases/download/0.10.1/glide-0.10.1-linux-amd64.tar.gz | tar xvz \
16+
&& mv linux-amd64/glide /usr/local/bin/ \
17+
&& rm -rf linux-amd64 \
18+
&& curl -L https://s3-us-west-2.amazonaws.com/get-deis/shellcheck-0.4.3-linux-amd64 -o /usr/local/bin/shellcheck \
19+
&& chmod +x /usr/local/bin/shellcheck \
20+
&& go get -u -v \
2221
github.com/golang/lint/golint \
2322
github.com/onsi/ginkgo/ginkgo \
2423
github.com/pwaller/goupx \

0 commit comments

Comments
 (0)