github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/deploy/test-in-docker/Dockerfile (about) 1 FROM ubuntu:22.04 2 3 RUN apt-get clean && apt-get update &&\ 4 set -eux &&\ 5 apt-get --no-install-recommends -y install \ 6 curl \ 7 git \ 8 ca-certificates \ 9 wget \ 10 vim \ 11 python3-setuptools \ 12 python3 \ 13 python3-pip \ 14 sysstat attr \ 15 net-tools \ 16 iproute2 \ 17 build-essential \ 18 lsof \ 19 iputils-ping &&\ 20 apt-get -y clean all 21 22 RUN pip3 install awscli s3cmd 23 24 ENV GOLANG_VERSION="1.22.1" 25 26 ENV GOPATH /go 27 ENV GOBIN $GOPATH/bin 28 ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH 29 30 # Installing go 31 RUN mkdir -p "$GOPATH/bin" && chmod -R 777 "$GOPATH" 32 RUN curl -LO https://go.dev/dl/go${GOLANG_VERSION}.linux-amd64.tar.gz &&\ 33 tar -C /usr/local -xvzf go${GOLANG_VERSION}.linux-amd64.tar.gz > /dev/null 2>&1 &&\ 34 rm -rf go${GOLANG_VERSION}.linux-amd64.tar.gz 35 36 RUN go install github.com/rakyll/gotest@latest 37 38 ARG cld_provider=0 39 ENV CLD_PROVIDER ${cld_provider} 40 41 COPY . $GOPATH/src/github.com/NVIDIA/aistore/ 42 43 ENTRYPOINT [ "sh", "-c", "$GOPATH/src/github.com/NVIDIA/aistore/deploy/test-in-docker/entrypoint.sh" ]