2018-07-29 12:36:41 +00:00
|
|
|
FROM ctrox/csi-s3-driver:0.2.0
|
2018-07-14 08:48:22 +00:00
|
|
|
LABEL maintainers="Cyrill Troxler <cyrilltroxler@gmail.com>"
|
2018-07-29 12:36:41 +00:00
|
|
|
LABEL description="csi-s3-driver testing image"
|
2018-07-16 20:27:45 +00:00
|
|
|
|
2018-07-29 12:36:41 +00:00
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get install -y \
|
|
|
|
git wget && \
|
|
|
|
rm -rf /var/lib/apt/lists/*
|
2018-07-16 20:27:45 +00:00
|
|
|
|
2018-07-29 12:36:41 +00:00
|
|
|
RUN wget -q https://dl.google.com/go/go1.10.3.linux-amd64.tar.gz && \
|
|
|
|
tar -xf go1.10.3.linux-amd64.tar.gz && \
|
|
|
|
mv go /usr/local
|
2018-07-16 20:27:45 +00:00
|
|
|
|
2018-07-29 12:36:41 +00:00
|
|
|
ENV GOROOT /usr/local/go
|
|
|
|
ENV GOPATH /go
|
|
|
|
ENV PATH=$GOPATH/bin:$GOROOT/bin:$PATH
|
2018-07-14 08:48:22 +00:00
|
|
|
|
|
|
|
RUN go get -u github.com/minio/minio && go install github.com/minio/minio/cmd
|
|
|
|
|
2018-07-29 12:36:41 +00:00
|
|
|
ENTRYPOINT ["/go/src/github.com/ctrox/csi-s3-driver/test/test.sh"]
|