github.com/MaynardMiner/ethereumprogpow@v1.8.23/swarm/dev/Dockerfile (about)

     1  FROM ubuntu:xenial
     2  
     3  # install build + test dependencies
     4  RUN apt-get update && \
     5      apt-get install --yes --no-install-recommends \
     6        ca-certificates \
     7        curl \
     8        fuse \
     9        g++ \
    10        gcc \
    11        git \
    12        iproute2 \
    13        iputils-ping \
    14        less \
    15        libc6-dev \
    16        make \
    17        pkg-config \
    18        && \
    19      apt-get clean
    20  
    21  # install Go
    22  ENV GO_VERSION 1.8.1
    23  RUN curl -fSLo golang.tar.gz "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" && \
    24      tar -xzf golang.tar.gz -C /usr/local && \
    25      rm golang.tar.gz
    26  ENV GOPATH /go
    27  ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH
    28  
    29  # install docker CLI
    30  RUN curl -fSLo docker.tar.gz https://get.docker.com/builds/Linux/x86_64/docker-17.04.0-ce.tgz && \
    31    tar -xzf docker.tar.gz -C /usr/local/bin --strip-components=1 docker/docker && \
    32    rm docker.tar.gz
    33  
    34  # install jq
    35  RUN curl -fSLo /usr/local/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 && \
    36      chmod +x /usr/local/bin/jq
    37  
    38  # install govendor
    39  RUN go get -u github.com/kardianos/govendor
    40  
    41  # add custom bashrc
    42  ADD bashrc /root/.bashrc