2018-08-08 14:35:21 +00:00
|
|
|
# check https://docs.travis-ci.com/user/common-build-problems/#troubleshooting-locally-in-a-docker-image
|
2018-01-02 15:28:17 +00:00
|
|
|
FROM travisci/ci-garnet:packer-1512502276-986baf0
|
|
|
|
MAINTAINER Evgenii Sokolov <e.sokolov@sevensenders.com>
|
|
|
|
|
2018-08-08 14:35:21 +00:00
|
|
|
USER travis
|
2018-01-02 15:28:17 +00:00
|
|
|
ENV GOPATH "/home/travis/gopath"
|
|
|
|
ENV GOROOT "/home/travis/.gimme/versions/go1.7.4.linux.amd64"
|
|
|
|
ENV PATH "$GOPATH/bin:$GOROOT/bin:$PATH"
|
2018-08-08 14:35:21 +00:00
|
|
|
COPY . $GOPATH/src/github.com/ru-de/faq/files
|
|
|
|
RUN cd $GOPATH/src/github.com/ru-de/faq && sudo env PATH=$PATH GOPATH=$GOPATH bash files/check-install.sh
|