github.com/slowteetoe/docker@v1.7.1-rc3/builder/parser/testfiles/brimstone-consuldock/Dockerfile (about)

     1  FROM brimstone/ubuntu:14.04
     2  
     3  MAINTAINER brimstone@the.narro.ws
     4  
     5  # TORUN -v /var/run/docker.sock:/var/run/docker.sock
     6  
     7  ENV GOPATH /go
     8  
     9  # Set our command
    10  ENTRYPOINT ["/usr/local/bin/consuldock"]
    11  
    12  # Install the packages we need, clean up after them and us
    13  RUN apt-get update \
    14  	&& dpkg -l | awk '/^ii/ {print $2}' > /tmp/dpkg.clean \
    15      && apt-get install -y --no-install-recommends git golang ca-certificates \
    16      && apt-get clean \
    17      && rm -rf /var/lib/apt/lists \
    18  
    19  	&& go get -v github.com/brimstone/consuldock \
    20      && mv $GOPATH/bin/consuldock /usr/local/bin/consuldock \
    21  
    22  	&& dpkg -l | awk '/^ii/ {print $2}' > /tmp/dpkg.dirty \
    23  	&& apt-get remove --purge -y $(diff /tmp/dpkg.clean /tmp/dpkg.dirty | awk '/^>/ {print $2}') \
    24  	&& rm /tmp/dpkg.* \
    25  	&& rm -rf $GOPATH