Make TravisCI auto-build Linux executables.

This commit is contained in:
Vidar Holen 2017-06-24 19:20:59 -07:00
parent 2ded4df6fa
commit 21f5bf01eb
4 changed files with 24 additions and 66 deletions

View file

@ -1,11 +1,10 @@
FROM alpine:latest
FROM scratch
MAINTAINER Nikyle Nguyen <NLKNguyen@MSN.com>
MAINTAINER Vidar Holen <vidar@vidarholen.net>
COPY package/bin/shellcheck /usr/local/bin/
COPY package/lib/ /usr/local/lib/
RUN ldconfig /usr/local/lib
# This file assumes ShellCheck has already been built.
# See https://github.com/koalaman/scbuilder
COPY shellcheck /
WORKDIR /mnt
ENTRYPOINT ["shellcheck"]
ENTRYPOINT ["/shellcheck"]