Skip to content

Commit

Permalink
fix #49, increase buffer size, and use depth 1
Browse files Browse the repository at this point in the history
  • Loading branch information
razr committed May 7, 2023
1 parent 1e89c62 commit d8bd130
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ RUN if test -z $UNAME_R; then UNAME_R=`curl -s http://ports.ubuntu.com/pool/main
# install linux sources from git
RUN mkdir /home/user/linux_build \
&& cd /home/user/linux_build \
&& time git clone -b master --single-branch https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux-raspi/+git/${UBUNTU_VERSION} ${KERNEL_DIR} \
&& git config --global https.postBuffer 1048576000 \
&& time git clone -b master --depth 1 --single-branch https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux-raspi/+git/${UBUNTU_VERSION} ${KERNEL_DIR} \
&& cd ${KERNEL_DIR} \
&& git fetch --tag

Expand Down

0 comments on commit d8bd130

Please sign in to comment.