Updated Dockerfile to get docker version 1.11.1 for the iso file
Updated README for iso testing Updated DefaultIsoUrl to minikube-0.3pull/161/head
parent
70f78e12f6
commit
eee920bae4
|
@ -17,8 +17,8 @@
|
||||||
FROM boot2docker/boot2docker
|
FROM boot2docker/boot2docker
|
||||||
|
|
||||||
# Set the version of Docker and the expected sha.
|
# Set the version of Docker and the expected sha.
|
||||||
RUN echo "1.9.1" > $ROOTFS/etc/version
|
RUN echo "1.11.1" > $ROOTFS/etc/version
|
||||||
ENV DOCKER_SHA 8824f8a67fbe55d1e52dcbebc74219ba8090006e
|
ENV DOCKER_SHA b7d6025beb6440341741ea9324655a267fba83f7
|
||||||
|
|
||||||
# Add other dependencies here to $ROOTFS/
|
# Add other dependencies here to $ROOTFS/
|
||||||
ADD nsenter $ROOTFS/usr/bin/
|
ADD nsenter $ROOTFS/usr/bin/
|
||||||
|
@ -39,7 +39,7 @@ RUN rm -f /$ROOTFS/usr/local/bin/docker*
|
||||||
RUN curl -fSL -o /tmp/dockerbin.tgz https://get.docker.com/builds/Linux/x86_64/docker-$(cat $ROOTFS/etc/version).tgz && \
|
RUN curl -fSL -o /tmp/dockerbin.tgz https://get.docker.com/builds/Linux/x86_64/docker-$(cat $ROOTFS/etc/version).tgz && \
|
||||||
# Check the sha1 matches.
|
# Check the sha1 matches.
|
||||||
if [ $DOCKER_SHA != $(sha1sum /tmp/dockerbin.tgz | cut -f1 -d ' ') ]; then echo "SHA mismatch!"; exit 1; fi && \
|
if [ $DOCKER_SHA != $(sha1sum /tmp/dockerbin.tgz | cut -f1 -d ' ') ]; then echo "SHA mismatch!"; exit 1; fi && \
|
||||||
tar -zxvf /tmp/dockerbin.tgz -C "$ROOTFS/usr/local/bin" --strip-components=3 && \
|
tar -zxvf /tmp/dockerbin.tgz -C "$ROOTFS/usr/local/bin" --strip-components=1 && \
|
||||||
rm /tmp/dockerbin.tgz
|
rm /tmp/dockerbin.tgz
|
||||||
|
|
||||||
RUN $ROOTFS/usr/local/bin/docker -v
|
RUN $ROOTFS/usr/local/bin/docker -v
|
||||||
|
|
|
@ -8,9 +8,9 @@ To manually try out the built iso, you can run the following commands to create
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
VBoxManage createvm --name testminikube --ostype "Linux_64" --register
|
VBoxManage createvm --name testminikube --ostype "Linux_64" --register
|
||||||
VBoxManage storagectl foo --name "IDE Controller" --add ide
|
VBoxManage storagectl testminikube --name "IDE Controller" --add ide
|
||||||
VBoxManage storageattach foo --storagectl "IDE Controller" --port 0 --device 0 --type dvddrive --medium ./minikube.iso
|
VBoxManage storageattach testminikube --storagectl "IDE Controller" --port 0 --device 0 --type dvddrive --medium ./minikube.iso
|
||||||
VBoxManage modifyvm foo --memory 1024 --vrde on --vrdeaddress 127.0.0.1 --vrdeport 3390 --vrdeauthtype null
|
VBoxManage modifyvm testminikube --memory 1024 --vrde on --vrdeaddress 127.0.0.1 --vrdeport 3390 --vrdeauthtype null
|
||||||
```
|
```
|
||||||
|
|
||||||
Then use the VirtualBox gui to start and open a session.
|
Then use the VirtualBox gui to start and open a session.
|
||||||
|
|
|
@ -45,7 +45,7 @@ var LogFlags = [...]string{
|
||||||
"vmodule",
|
"vmodule",
|
||||||
}
|
}
|
||||||
|
|
||||||
const DefaultIsoUrl = "https://storage.googleapis.com/minikube/minikube-0.2.iso"
|
const DefaultIsoUrl = "https://storage.googleapis.com/minikube/minikube-0.3.iso"
|
||||||
|
|
||||||
const (
|
const (
|
||||||
RemoteLocalKubeErrPath = "/var/log/localkube.err"
|
RemoteLocalKubeErrPath = "/var/log/localkube.err"
|
||||||
|
|
Loading…
Reference in New Issue