github.com/diadata-org/diadata@v1.4.593/build/Dockerfile-usdt (about)

     1  FROM golang:1.14 as build
     2  
     3  # Have to install chrome for this so had to use initial image not distroless
     4  RUN apt-get update
     5  RUN echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list
     6  RUN wget https://dl-ssl.google.com/linux/linux_signing_key.pub
     7  RUN apt-key add linux_signing_key.pub
     8  RUN apt-get update
     9  RUN apt-get install google-chrome-stable -y
    10  
    11  WORKDIR $GOPATH
    12  
    13  COPY . .
    14  
    15  WORKDIR $GOPATH/src/github.com/diadata-org/diadata/internal/pkg/blockchain-scrapers/blockchains/tether/scrapers/usdt
    16  
    17  RUN go get ./...
    18  
    19  RUN go install
    20  
    21  CMD ["usdt"]