1
0
mirror of https://github.com/ru-de/faq.git synced 2024-11-22 18:32:19 +00:00
faq-de/files/Dockerfile

11 lines
512 B
Docker
Raw Normal View History

2018-08-08 14:35:21 +00:00
# check https://docs.travis-ci.com/user/common-build-problems/#troubleshooting-locally-in-a-docker-image
FROM travisci/ci-garnet:packer-1512502276-986baf0
MAINTAINER Evgenii Sokolov <e.sokolov@sevensenders.com>
2018-08-08 14:35:21 +00:00
USER travis
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