tail/Dockerfile

22 lines
542 B
Docker
Raw Normal View History

2013-09-09 11:04:39 +08:00
# -*- sh -*-
FROM ubuntu:quantal
RUN echo "deb http://archive.ubuntu.com/ubuntu quantal main universe" >> /etc/apt/sources.list
RUN apt-get -qy update
RUN apt-get -qy install golang-go
RUN apt-get -qy install git mercurial bzr subversion
ENV GOPATH $HOME/go
RUN mkdir -p $GOPATH/src/github.com/ActiveState/tail/
ADD . $GOPATH/src/github.com/ActiveState/tail/
2013-09-09 11:04:39 +08:00
# expecting to fetch dependencies successfully.
RUN go get -v github.com/ActiveState/tail
# expecting to run the test successfully.
RUN go test -v github.com/ActiveState/tail