github.com/yandex-cloud/geesefs@v0.40.9/bench/Dockerfile.azure (about) 1 FROM ubuntu:18.04 2 ARG DEBIAN_FRONTEND=noninteractive 3 RUN apt-get update && \ 4 apt-get -y install --no-install-recommends git fuse \ 5 # blobfuse dependencies \ 6 pkg-config libfuse-dev cmake libcurl4-gnutls-dev libgnutls28-dev uuid-dev \ 7 libgcrypt20-dev libboost-all-dev gcc g++ \ 8 # for running goofys benchmark \ 9 curl python-setuptools python-pip gnuplot-nox imagemagick \ 10 # finally, clean up to make image smaller \ 11 && apt-get clean 12 # goofys graph generation 13 RUN pip install numpy 14 15 WORKDIR /tmp 16 17 ENV PATH=$PATH:/usr/local/go/bin 18 ARG GOVER=1.12.6 19 RUN curl -O https://storage.googleapis.com/golang/go${GOVER}.linux-amd64.tar.gz && \ 20 tar -C /usr/local -xzf go${GOVER}.linux-amd64.tar.gz && \ 21 rm go${GOVER}.linux-amd64.tar.gz 22 23 ARG MAKEFLAGS=-j8 24 RUN git clone --depth 1 https://github.com/Azure/azure-storage-fuse.git && \ 25 cd azure-storage-fuse && bash ./build.sh > /dev/null && make -C build install && \ 26 cd .. && rm -Rf azure-storage-fuse 27 28 # ideally I want to clear out all the go deps too but there's no 29 # way to do that with ADD 30 ENV PATH=$PATH:/root/go/bin 31 ADD . /root/go/src/github.com/yandex-cloud/geesefs 32 WORKDIR /root/go/src/github.com/yandex-cloud/geesefs 33 RUN go get . && make install 34 35 ENTRYPOINT ["/root/go/src/github.com/yandex-cloud/geesefs/bench/run_bench.sh"]