This repository was archived by the owner on Jan 1, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -355,9 +355,9 @@ RUN ( cd /usr/src/haveged && ./configure LDFLAGS='-static --static' ); \
355355
356356# http://download.virtualbox.org/virtualbox/
357357# updated via "update.sh"
358- ENV VBOX_VERSION 6.0.10
358+ ENV VBOX_VERSION 5.2.32
359359# https://www.virtualbox.org/download/hashes/$VBOX_VERSION/SHA256SUMS
360- ENV VBOX_SHA256 c8a686f8c7ad9ca8375961ab19815cec6b1f0d2496900a356a38ce86fe8a1325
360+ ENV VBOX_SHA256 4311c7408a3410e6a33264a9062347d9eec04f58339a49f0a60488c0cabc8996
361361# (VBoxGuestAdditions_X.Y.Z.iso SHA256, for verification)
362362
363363RUN wget -O /vbox.iso "https://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso" ; \
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ start() {
4444 return 0
4545 }
4646
47- shares=" $( VBoxControl --nologo sharedfolder list -- automount | tail -n+3 | cut -d ' ' -f 3) "
47+ shares=" $( VBoxControl --nologo sharedfolder list -automount | tail -n+3 | cut -d ' ' -f 3) "
4848 for line in $shares ; do
4949 try_mount_share " $line "
5050 done
Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ mirrors=(
2222
2323# https://www.kernel.org/
2424kernelBase=' 4.14'
25+ # https://github.com/boot2docker/boot2docker/issues/1398
26+ # https://download.virtualbox.org/virtualbox/
27+ vboxBase=' 5'
2528
2629# avoid issues with slow Git HTTP interactions (*cough* sourceforge *cough*)
2730export GIT_HTTP_LOW_SPEED_LIMIT=' 100'
@@ -100,7 +103,14 @@ seds+=(
100103 -e ' s!^(ENV LINUX_VERSION).*!\1 ' " $kernelVersion " ' !'
101104)
102105
103- vboxVersion=" $( wget -qO- ' https://download.virtualbox.org/virtualbox/LATEST-STABLE.TXT' ) "
106+ # vboxVersion="$(wget -qO- 'https://download.virtualbox.org/virtualbox/LATEST-STABLE.TXT')"
107+ vboxVersion=" $(
108+ wget -qO- ' https://download.virtualbox.org/virtualbox/' \
109+ | grep -oE ' href="[0-9.]+/?"' \
110+ | cut -d' "' -f2 | cut -d/ -f1 \
111+ | grep -E " ^$vboxBase [.]" \
112+ | tail -1
113+ ) "
104114vboxSha256=" $(
105115 {
106116 wget -qO- " https://download.virtualbox.org/virtualbox/$vboxVersion /SHA256SUMS" \
You can’t perform that action at this time.
0 commit comments