File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update \
4343 google-perftools libgoogle-perftools-dev \
4444 && pip3 install pybind11 \
4545 && cd \
46- && git clone https://github.com/chronolaw/cpp_study \
46+ && git clone https://github.com/chronolaw/cpp_study --depth=1 \
4747 && cp ~/cpp_study/env/vimrc ~/.vimrc \
4848 && cp ~/cpp_study/env/bashrc ~/.bashrc \
4949 && cp ~/cpp_study/env/gitconfig ~/.gitconfig \
@@ -69,7 +69,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update \
6969 && curl -fsL https://github.com/gperftools/gperftools/releases/download/gperftools-${GPERF_VERSION}/gperftools-${GPERF_VERSION}.tar.gz -o gperf.tgz \
7070 && tar xfz gperf.tgz \
7171 && ln -s ~/github/gperftools-${GPERF_VERSION}/pprof-symbolize /bin/pprof \
72- && git clone https://github.com/brendangregg/FlameGraph.git \
72+ && git clone https://github.com/brendangregg/FlameGraph.git --depth=1 \
7373 && ln -s ~/github/FlameGraph/flamegraph.pl ~/cpp_study/section4/ \
7474 && rm *.tgz \
7575 && DEBIAN_FRONTEND=noninteractive apt-get autoremove -y
You can’t perform that action at this time.
0 commit comments