Skip to content

Commit 873c8a5

Browse files
committed
Dockerfile
1 parent 4564d5e commit 873c8a5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)