Skip to content

Commit 6b755d1

Browse files
authored
Merge pull request #50 from razr/issue-49
fix #49, increase buffer size, and use depth 1
2 parents 1e89c62 + d8bd130 commit 6b755d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ RUN if test -z $UNAME_R; then UNAME_R=`curl -s http://ports.ubuntu.com/pool/main
9898
# install linux sources from git
9999
RUN mkdir /home/user/linux_build \
100100
&& cd /home/user/linux_build \
101-
&& time git clone -b master --single-branch https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux-raspi/+git/${UBUNTU_VERSION} ${KERNEL_DIR} \
101+
&& git config --global https.postBuffer 1048576000 \
102+
&& time git clone -b master --depth 1 --single-branch https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux-raspi/+git/${UBUNTU_VERSION} ${KERNEL_DIR} \
102103
&& cd ${KERNEL_DIR} \
103104
&& git fetch --tag
104105

0 commit comments

Comments
 (0)